Skip to content

Instantly share code, notes, and snippets.

@adamhjk
Created September 17, 2009 21:02
Show Gist options
  • Save adamhjk/188714 to your computer and use it in GitHub Desktop.
Save adamhjk/188714 to your computer and use it in GitHub Desktop.
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