Created
September 17, 2009 21:02
-
-
Save adamhjk/188714 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby_block "reload config" do | |
block do | |
Chef::Config.from_file("/etc/chef/client.rb") | |
end | |
action :nothing | |
end | |
template "/etc/chef/client.rb" do | |
... | |
notifies :run, resources(:ruby_block => "reload config") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment