You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rolling out first version of archive some_pkg works fine
Rolling out second version (which has different file name AND checksum) replaces first version, as expected
Trying to roll out first version again (because second version has a bug) does nothing
Also, the local copies of the archives, under path are not removed, despite cleanup => true.
What behaviour did you expect instead
First version should replace second version, no local copy should exist after Puppet agent run
Output log
Well, no action, no log
Additional information
The only way to achieve a rollback to the first version is to write a trigger file containing the checksum, have an exec, subscribed to that file, which removes the extracted directory under extract_path and in turn let archive require that exec
The text was updated successfully, but these errors were encountered:
BTW: The problem could be easily solved by comparing the archives ToC with the actual content of (the directory tree under) extract_path (this is also what Salt does).
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Rolling out first version of archive
some_pkg
works fineRolling out second version (which has different file name AND checksum) replaces first version, as expected
Trying to roll out first version again (because second version has a bug) does nothing
Also, the local copies of the archives, under
path
are not removed, despitecleanup => true
.What behaviour did you expect instead
First version should replace second version, no local copy should exist after Puppet agent run
Output log
Well, no action, no log
Additional information
The only way to achieve a rollback to the first version is to write a trigger file containing the checksum, have an
exec
, subscribed to that file, which removes the extracted directory underextract_path
and in turn letarchive
require thatexec
The text was updated successfully, but these errors were encountered: