Skip to content

Instantly share code, notes, and snippets.

@petecheslock
Created October 16, 2012 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petecheslock/c05d8ff9f898718ffcdb to your computer and use it in GitHub Desktop.
Save petecheslock/c05d8ff9f898718ffcdb to your computer and use it in GitHub Desktop.
template "myfile.erb" do
rights :read, "Everyone"
rights :full_control, "Administrators"
inherits false
end
execute "do_something" do
command "foo"
action :nothing
subscribes :run, resources(:template => "myfile.erb"), :immediately
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment