adamhjk (owner)

Revisions

gist: 188714 Download_button fork
public
Public Clone URL: git://gist.github.com/188714.git
Embed All Files: show embed
ruby_block_reconfig.rb #
1
2
3
4
5
6
7
8
9
10
11
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