Hi,
this was just on us...@.
Gary: what do you think? I guess nobody was aware of this issue.
Best regards
-- Dago
Anfang der weitergeleiteten E-Mail:
Von: Chris May <[email protected]>
Datum: 31. Mai 2009 22:37:16 MESZ
An: [email protected]
Betreff: Re: [csw-users] feedback on pkg-get behaviour change
requested
Antwort an: questions and discussions <[email protected]>
Philip Brown wrote:
[...]
I am considering altering the behavior of "pkg-get -c", so that it
only prints out installed packages, that have DIFFERENT versions in
the
catalog.
Has this change now been made? I notice what looks like this
difference between the
behaviour of 4.1.2 and 4.2, when querying for a package which is
already installed.
Comparing the two...
# /tmp/pkg-get.4.1.2 -c nrpe
# (From site http://ibiblio.org/pub/packages/solaris/opencsw/current )
software localrev
remoterev
nrpe
2.12,REV=2009.05.17 SAME
# /tmp/pkg-get.4.2 -c nrpe
# (From site http://ibiblio.org/pub/packages/solaris/opencsw/current )
software localrev
remoterev
#
This causes a problem for the Puppet configuration management
software(http://reductivelabs.com/trac/puppet), which parses the
output of pkg-get -c {package} to determine whether a package is
installed or not. The absence of the "SAME" line causes it to think
that the package is not present, and hence re-install it.
Is this intended to be a permanent change? If so, I'll raise an
enhancement request with the Puppet maintainers to use '-c -a
{package}' instead - which looks as if it should work in the same way
with either pkg-get 4.1.2 or 4.2
_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers