Correct transaction management. cf. bug https://openrdf.atlassian.net/browse/SES-2295 and tomcat default management of PUT request with form data (application/x-www-form-urlencoded encoded)
# See README.md for details.
define archive::tar_gz($source, $target, $path=$::path) {
exec {"${name} unpack":
command => "curl -s -S ${source} | tar -xzf - -C ${target} && touch ${name}",
creates => $name,
path => $path,
require => Package[curl],
}
}