Skip to content

Instantly share code, notes, and snippets.

@mmatsumura
Created December 7, 2011 20:00
Show Gist options
  • Save mmatsumura/1444362 to your computer and use it in GitHub Desktop.
Save mmatsumura/1444362 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