Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use_inline_resources
- action :doit do
- unless File.exist("/tmp/doit")
- converge_by("creating /tmp/doit") do
- FileUtils.touch("/tmp/doit")
- end
- end
- end
- use_inline_resources
- action :doit do
- file "/tmp/doit"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement