Puppet Version: starting with 5.5.19, 6.13.0 and 7.0.0 Puppet Server Version: n/a OS Name/Version: Solaris 11 Describe your issue in as much detail as possible… After the addition of the mark property, a package cannot pe unheld and updated in the same run. Describe steps to reproduce… Assuming mypkg is installed with version 0.0.2, and held/frozen, apply the following manifest:
package {mypkg : ensure=>"0.0.3", mark=>"none", provider=>"pkg"}
|
Desired Behavior: The package is unheld/unfrozen, and updated to 0.0.3 Actual Behavior: Puppet attempts to update the package first, which results in:
Debug: Executing: '/usr/bin/pkg update -n my...@0.0.3,5.11:20210309T130735Z' |
Error: No version of mypkg matching 0.0.3 is installable, even though the package is currently installed |
Error: /Stage[main]/Main/Package[mypkg]/ensure: change from '0.0.2,5.11:20210309T130605Z' to '0.0.3' failed: No version of mypkg matching 0.0.3 is installable, even though the package is currently installed
|
Attempting to manually run pkg update gives:
Creating Plan (Solver setup): \ |
pkg update: No matching version of mypkg can be installed: |
Reject: pkg://tstpub.lan/my...@0.0.3,5.11:20210309T130735Z |
Reason: This version is excluded by a freeze on mypkg at version 0.0.2,5.11:20210309T130605Z.
|
|