How to use/implement this Chef recipe? -
i new chef, trying use chef recipe:
https://gist.github.com/kardeiz/7273938
i thought needed create new cookbook , put recipe default.rb, , .erb templates/default, when try use cookbook ("dcpromote") in chef-client, getting error:
compiling cookbooks... ================================================================================ recipe compile error in c:/chef/cache/cookbooks/dcpromote/recipes/default.rb ================================================================================ nameerror --------- uninitialized constant windows::helper cookbook trace: --------------- c:/chef/cache/cookbooks/dcpromote/recipes/default.rb:8:in `from_file'
can tell me why getting compile error , how eliminate it?
thanks, jim
looks need depend on windows
cookbook https://supermarket.chef.io/cookbooks/windows / github: https://github.com/opscode-cookbooks/windows.
try adding following cookbook's metadata.rb
depends 'windows'
Comments
Post a Comment