Issue #8288 has been updated by Daniel Pittman.

Target version set to 2.7.x

Mike, Jeff, this looks like correct behaviour, but I am concerned: as far as I 
know zones are a fairly recent Solaris feature, and we support anything from 
Solaris 7 upwards.  Is it safe to apply this universally, or are we going to 
have to make it conditional on the Solaris version?  When did it start being 
supported?

Additionally, are "zones" a feature you can disable?  If so, does that alter 
the behaviour of the package provider combined with this option?  (eg: will it 
fail if zones are disabled, and I invoke with it?)

----------------------------------------
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