Issue #2878 has been updated by Peter Meier.

do you mind proposing your patches to the -dev list? This is where discussion 
for new features happens.

You find notes and hints to do that here: 
http://reductivelabs.com/trac/puppet/wiki/Development/DevelopmentLifecycle
----------------------------------------
Feature #2878: feature request: New parameter for Sun package resource 
http://projects.reductivelabs.com/issues/2878

Author: derek olsen
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Affected version: 0.25.1
Keywords: 
Branch: 


  Hello.
  The patches supplied with this request are intended to add an enhancement to 
the Sun package provider.  This enhancement adds an interface to a native 
feature of the Solaris "pkgadd" utilities.
The new parameter "pkginst" would allow users to pass multiple package names or 
the magic word "all" to the "pkgadd" command.   This feature will be used by 
Solaris administrators who have package file s which contain multiple packages. 
  Pretty much every shop has between 2 and 5 packages of this type.  The 
attached tar file contains the supporting patches and usage documentation.

   Here is what the requested parameter would look like in a manifest.

 In this example we use the value "all" to add all sub packages
package { "SUNWjet":,
           adminfile    => "/etc/pkgadmin",
           source       => "/var/tmp/jet.pkg",
           ensure       => installed,
           pkginst      => "all",
        }

  In this example we only want two specific sub packages
package { "SUNWjet":,
           adminfile    => "/etc/pkgadmin",
           source       => "/var/tmp/jet.pkg",
           ensure       => installed,
           pkginst      => [ "SUNWjet", "JetFLASH" ]
        }


  I'm pretty new to puppet (migrating from CFengine).  I hope this is the right 
format for this request.  I have one or two other requests that I'll be 
submitting in the near future so if I need to learn anything from this request 
to make the future requests more efficient please let me know.  

  I have attached a tar file which contains 2 unified diff patch files.  In the 
tar file is a README which contains the example usage of the feature request as 
well.

  Thanks.  Derek.


-- 
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://reductivelabs.com/redmine/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