Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.9.12
-
Fix Version/s: 10.14.0
-
Component/s: Chef Client, Documentation
-
Labels:None
Description
remote_file keyfile do source "http://hudson-ci.org/debian/hudson-ci.org.key" end execute "apt-key add #{keyfile}" do action :nothing subscribes :run, "remote_file[#{keyfile}]", :immediately end
results in
NoMethodError - undefined method `notifies' for "remote_file[/var/lib/hudson/hudson-ci.org.key]":String
https://github.com/avishai-ish-shalom/chef/tree/CHEF-1994
Seems silly to have two mechanisms for dispatching notifications, but I didn't want too make to many changes without a proper discussion.