Created
February 11, 2013 21:26
-
-
Save behemphi/4757773 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resource Declaration: | |
--------------------- | |
# In /var/cache/chef/cookbooks/fm_one_time/recipes/pre_2_4_100.rb | |
24: bash "Double Tap on microwave" do | |
25: user "root" | |
26: cwd "/tmp" | |
27: code <<-EOH | |
28: pkill -U microwave | |
29: EOH | |
30: only_if { `ps -ef | grep microwav[e]` } | |
31: end | |
32: | |
Compiled Resource: | |
------------------ | |
# Declared in /var/cache/chef/cookbooks/fm_one_time/recipes/pre_2_4_100.rb:24:in `from_file' | |
bash("Double Tap on microwave") do | |
action "run" | |
retries 0 | |
retry_delay 2 | |
command "\"bash\" \"/tmp/chef-script20130211-23723-16boiih\"" | |
backup 5 | |
cwd "/tmp" | |
returns 0 | |
user "root" | |
code " pkill -U microwave\n" | |
interpreter "bash" | |
cookbook_name "fm_one_time" | |
recipe_name "pre_2_4_100" | |
only_if { #code block } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment