Displaying 1 result from an estimated 1 matches for "install_tarball_via_http".
2007 Jan 25
4
Conditional exec
I am trying to write a definition that downloads and extracts a tar
file if the destination directory does not exist. The tar file won''t
change and does not need to be download and extracted if it changes.
The definition I am using now is:
define remote_tar($source, $directory) {
remotefile { "/tmp/$name.tgz":
source => $source,
}
exec {