Skip to content

Instantly share code, notes, and snippets.

@thommay
Created August 30, 2011 15:37
Show Gist options
  • Select an option

  • Save thommay/1181193 to your computer and use it in GitHub Desktop.

Select an option

Save thommay/1181193 to your computer and use it in GitHub Desktop.
include_recipe "chef_handler"
cookbook_file "#{node['chef_handler']['handler_path']}/mcollective_classlist.rb" do
source "mcollective_classlist.rb"
mode 0644
end
chef_handler "MCollective::ClassList" do
source "#{node['chef_handler']['handler_path']}/mcollective_classlist.rb"
supports :report => true, :exception => false
action :enable
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment