Issue #4953 has been updated by Daniel Grafe.

File zypper.rb_diff added
File yum.rb_diff added

Ok, sorry for the delay. We've cloned the puppet repository, modified the 
provider and were happy.

I have attached diffs of the modifications we made. You can then install all of 
the packages of the pattern (or package group in RHEL) using the pattern name 
in a package resource.

For testing you can use the x11 pattern:
package { "x11": .... } (SLES11) 
package { "@x11": .... } (RHEL6) 
----------------------------------------
Feature #4953: Zypper Provider should support Patterns
https://projects.puppetlabs.com/issues/4953

Author: Daniel Grafe
Status: Needs More Information
Priority: Normal
Assignee: Nigel Kersten
Category: package
Target version: 
Affected Puppet version: 2.6.0
Keywords: 
Branch: 


SUSE defines software package lists called patterns. These patterns are 
combining related packages to useful software collections. For instance, the 
pattern "Basis-Devel" would give you the autotools, gcc, kernel sources etc...

Zypper can be used to install all packages from these lists by installing the 
pattern when setting the type explicitely to pattern. For example: zypper 
install -t pattern Basis-Devel

When using the zypper provider in puppet it would be nice to be able to install 
these patterns. Please find attached our quick modification of the provider. It 
will detect if the given name identifies a pattern or a package and will call 
zypper with the appropriate flags.


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