Skip to content

Instantly share code, notes, and snippets.

@clifferson
Forked from mmatsumura/gist:1444362
Created December 8, 2011 09:16
Show Gist options
  • Save clifferson/1446536 to your computer and use it in GitHub Desktop.
Save clifferson/1446536 to your computer and use it in GitHub Desktop.
delay execution
execute "chown tomcat" do
command "chown -R #{node[:tomcat][:config][:user]} #{node[:tomcat][:config][:home]}"
action :nothing
end
ruby_block "delay chown tomcat" do
block {}
notifies :run, resources(:execute => "chown tomcat")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment