Displaying 1 result from an estimated 1 matches for "unpack_archive".
2013 Mar 14
4
exec resource not refreshed when subscribed resource changes
...7z):
class my_archive ($version = undef) {
file { ''version'':
path => ''C:/the_version'',
content => $version,
ensure => present,
mode => 0666,
}
# Extracting archive creates C:/some/dir
exec { ''unpack_archive'':
command => "cmd /c rmdir /S /Q C:\some/dir & 7z x -oC:/some
C:/path/to/archive-${version}.7z",
creates => ''C:/some/dir/a_file'',
require => File[''version''],
path => $::path,
subscribe =&...