refreshonly and notify are your friends.
file { 'zipfile':
notify Exec['unzip'],
source => 'file:///downloads/someZipFile.zip'
}
exec { 'unzip zipfile -d /some/file':
alias => 'unzip',
refreshonly => true,
notify => Exec['installer']
}
exec { '/some/file/setup.exe /a':
alias =>
puppet/archive sounds cool, potentially. Thanks for the recommendations,
guys.Just to be sure I've communicated clearly:
- my Puppet master (5.4) is RHEL7 and contains a Windows installer .zip
file in /somedir
- one or more nodes onto which I want to push my installer .zip file
Am Donnerstag, 19. April 2018 04:55:40 UTC+2 schrieb Ty Young:
>
> I'm still ramping up on Puppet 5.4.0, but I'm stuck on something.
>
> I have a customer needing to automate installation of a software package
> on Windows nodes. The installer is most easily transported as a .zip file,
> but