Issue #8288 has been reported by eric sorenson.
----------------------------------------
Bug #8288: Sun package provider should include '-G' flag to pkgadd on install
https://projects.puppetlabs.com/issues/8288
Author: eric sorenson
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
One of our teams ran into trouble using the sun package provider on zoned
hosts. Without the '-G' flag, when run on a global zone, pkgadd attempts to
install into all non-global zones, which isn't right if the non-global zones
also run puppet. According to the man page:
<pre>
-G
Add package(s) in the current zone only. When used in
the global zone, the package is added to the global zone
only and is not propagated to any existing or yet-to-
be-created non-global zone. When used in a non-global
zone, the package(s) are added to the non-global zone
only.
</pre>
Locally I forked provider/package/sun.rb and made a one-line change to its
'install' method, please consider taking this upstream
<pre>
125c125
< cmd = []
---
> cmd = ["-G"]
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.