[Pkgutil-users] pkgutil noncsw=true
Status: Beta
Brought to you by:
bonivart
|
From: Robert G. <rob...@gm...> - 2010-03-02 15:03:53
|
Hey there,
To use pkgutil to install non CSW - prefixed packages, one needs to
enable this feature by means of adding
noncsw=true to pkgutil.conf.
This switches off the grep:
if ($noncsw) {
@cswpkgs = `pkginfo`
} else {
@cswpkgs = `pkginfo | grep CSW`
}
And leads finally to a much longer runtime while doing a pkgutil -c
because of all the SUNW- stuff.
Wouldn't it be nicer if one could add a pattern to pkgutil.conf:
noncsw=/CSW|FOO|BAR/
What do you think?
I'm hacking on a new puppet provider for pkgutil and rely on the
pkgutil -c command to get a list of managed resources -> so waiting n
minutes on the output of pkgutil -c feels kind of clumsy ;)
Thanks for your input and cheers
Robert
|