Displaying 1 result from an estimated 1 matches for "the_version".
Did you mean:
e_version
2013 Mar 14
4
exec resource not refreshed when subscribed resource changes
...ss has a parameter for passing in the archive version, so that I can
trigger an update when a new version of the archive is available. A
simplyfied version looks like this (requires 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-${...