Skip to content

Instantly share code, notes, and snippets.

@ripienaar
Created August 7, 2010 18:33
Show Gist options
  • Save ripienaar/513053 to your computer and use it in GitHub Desktop.
Save ripienaar/513053 to your computer and use it in GitHub Desktop.
exec{"foo":
command => "/bin/ln -s /tmp/foo /tmp/bar",
onlyif => "/usr/bin/test -e /tmp/foo",
}
file{"/tmp/foo":
require => Exec["foo"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment