Issue #8288 has been updated by Rahul Gopinath.

Status changed from Accepted to In Topic Branch Pending Review
Branch set to https://github.com/vrthra/puppet/tree/ticket/3.x/8288_pkgadd_G


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

Author: eric sorenson
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Rahul Gopinath
Category: Solaris
Target version: 3.x
Affected Puppet version: 
Keywords: goalie_06_28_2012
Branch: https://github.com/vrthra/puppet/tree/ticket/3.x/8288_pkgadd_G


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.

Reply via email to