Issue #8288 has been updated by Charlie Sharpsteen.

Keywords changed from goalie_06_28_2012 sun solaris package pkgadd to 
goalie_06_28_2012 sun solaris package pkgadd customer

----------------------------------------
Bug #8288: Sun package provider should include '-G' flag to pkgadd on install
https://projects.puppetlabs.com/issues/8288#change-88625

* Author: eric sorenson
* Status: Closed
* Priority: Normal
* Assignee: Rahul Gopinath
* Category: Solaris
* Target version: 3.0.0
* Affected Puppet version: 0.22.1
* Keywords: goalie_06_28_2012 sun solaris package pkgadd customer
* Branch: https://github.com/puppetlabs/puppet/pull/993
----------------------------------------
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to