NetDocuments-Archive / ad-join-cookbook

Chef cookbook to join windows computer to AD
Apache License 2.0
14 stars 12 forks source link

Undefined Method #37

Closed drum7 closed 6 years ago

drum7 commented 6 years ago

NoMethodError: undefined method `double_reboot' for Chef::Resource::File

NoMethodError

file[c:/Windows/chef-ad-join.txt] (c:/chef/cache/cookbooks/ad-join/resources/domain_join_windows.rb line 113) had an error: NoMethodError: undefined method `double_reboot' for Chef::Resource::File

Cookbook Trace:

c:/chef/cache/cookbooks/ad-join/resources/domain_join_windows.rb:116:in `block (3 levels) in class_from_file'
spuder commented 6 years ago

Guessing you are on chef 13 or chef 14?

Looking at line 116 it doesn't have the new_resource defined. I suspect that is causing the problem.

spuder commented 6 years ago

Should be fixed in 5.1.1