[chef] windos_feature problem


Chronological Thread 
  • From: Michael Leikind < >
  • To:
  • Subject: [chef] windos_feature problem
  • Date: Mon, 17 Nov 2014 17:31:44 +0200

In my cookbook I have this :

if win_version.windows_server_2012? || win_version.windows_server_2012_r2?
  windows_feature "NetFx3ServerFeatures" do
    source node.sensu.windows.dism_source
  end
end

...

Got error :

[2014-11-17T15:20:55+00:00] ERROR: Running exception handlers
[2014-11-17T15:20:55+00:00] ERROR: Exception handlers complete
[2014-11-17T15:20:55+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out
[2014-11-17T15:20:55+00:00] FATAL: NoMethodError: undefined method `source' for Chef::Resource::WindowsFeature


full stacktrace here


Please help.

--

--
Michael L.



Archive powered by MHonArc 2.6.16.

§