Issue #8288 has been updated by Bill Proud.

Solaris zones are not really a new feature - they are a core feature of Solaris 
10 (first released in 2005).

Zones cannot be disabled.  Even if you do not create any zones the OS runs in a 
global zone.  So the -G option is always valid but without a non-global zone it 
will have no meaning.

I would prefer this to be a parameter but I'm not sure if I can summon up a 
really good argument.
----------------------------------------
Bug #8288: Sun package provider should include '-G' flag to pkgadd on install
https://projects.puppetlabs.com/issues/8288

Author: eric sorenson
Status: Needs Decision
Priority: Normal
Assignee: Michael Stahnke
Category: Solaris
Target version: 2.7.x
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.

Reply via email to