[PUP-1270] 'pkg' package provider does not understand IPS package versions properly Created: 2013/12/30 Updated: 2019/04/04 Resolved: 2014/12/08
|Component/s:||Types and Providers|
|Fix Version/s:||PUP 4.0.0|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Sprint:||Week 2014-1-29 to 2014-2-05, Week 2014-2-5 to 2014-2-12|
It would seem the 'pkg' provider (for illumos/Solaris/OpenSolaris IPS) does not
So puppet thinks there are no updates, but pkg correctly notices that an update
puppet resource provides some insight into this:
This version number is not correct, it's missing the build release (5.11) and
|Comment by Lauri Tirkkonen [ 2013/12/30 ]|
|Comment by Lauri Tirkkonen [ 2014/01/07 ]|
As stated in the PR I would appreciate if someone who knows more about package providers would provide some assistance with the implementation details.
|Comment by Kylo Ginsberg [ 2014/02/11 ]|
See discussion in the PR, but tl;dr is I'm kinda stumped on how best to handle this and opened up a thread on puppet-dev asking for advice.
|Comment by Kylo Ginsberg [ 2014/02/19 ]|
More discussion in the pull. I'm pulling this out of the sprint. When someone comes up for air and we have a repro on Solaris 11, let's pull it out of the backlog.
|Comment by Adrien Thebo [ 2014/11/12 ]|
Cody Herriges has said that he'll take a look at this change.
|Comment by Josh Cooper [ 2014/12/04 ]|
|Comment by John Duarte [ 2014/12/08 ]|
Verified that puppet resource includes the full version if the IPS package.
Previous result (using puppet 3.7.2)
Current result (using puppet at SHA 8a1cbb162)
|Comment by Josh Cooper [ 2014/12/08 ]|
I don't think this is correct. If the currently installed version is:
And you do ensure => latest, then I wouldn't expect latest to install the version that is already installed:
I suspect that puppet will "reinstall" that version every time you specify "latest", which it shouldn't do.
|Comment by Lauri Tirkkonen [ 2014/12/09 ]|
Josh, I think that's a separate bug in 'latest'. I am not seeing it on my test package, using puppet 87fad92f18966ea62544df16d251885794c5ec92 under OmniOS:
I do, however, see it for a package which has a greater version available (but which is not installable)
However, that bug existed before merging the fix for this one:
|Comment by Josh Cooper [ 2015/01/06 ]|
Thanks Lauri Tirkkonen! Would you mind searching jira to see if there is already a ticket, and if not, filing one?
|Comment by Lauri Tirkkonen [ 2015/01/06 ]|