Skip to content

Instantly share code, notes, and snippets.

@cpuguy83
Last active December 20, 2015 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpuguy83/6195495 to your computer and use it in GitHub Desktop.
Save cpuguy83/6195495 to your computer and use it in GitHub Desktop.
execute 'foo' do
command 'some_command_that_doesnt_create_its_own_file && touch /some/location/foo'
creates '/some/location/foo'
end
# or
execute 'foo' do
command 'this_command_creates_a_file_foo_in_etc'
creates '/etc/foo'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment