Skip to content

Instantly share code, notes, and snippets.

View mmatsumura's full-sized avatar

Michael Matsumura mmatsumura

  • Riot Games
  • Los Angeles, CA
View GitHub Profile
GEM
remote: http://rubygems.org/
specs:
archive-tar-minitar (0.5.2)
bunny (0.7.9)
chef (0.10.10)
bunny (>= 0.6.0)
erubis
highline (>= 1.6.9)
json (>= 1.4.4, <= 1.6.1)
@mmatsumura
mmatsumura / gist:1444362
Created December 7, 2011 20:00
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