1
# See README.md for details.
2
define archive::tar_gz($source, $target, $path=$::path) {
3
exec {"${name} unpack":
4
command => "curl -s -S ${source} | tar -xzf - -C ${target} && touch ${name}",
5
creates => $name,
6
path => $path,
7
require => Package[curl],
8
}
9