Hi Ashley,
Not a problem I've added a release to Puppet Forge ...
http://forge.puppetlabs.com/mikeknox/zypprepo
It's derived from the yumrepo type in Puppet core (0.25.5).
It hasn't been updated it for 2.6.x yet, works fine, but I noticed some
warnings about 'audit' when I tried ralsh on it.
On 11/02/11 2:27 AM, Ashley Gould wrote:
hey Michael,
Where did you get zypprepo type? Did you write it? Can you post it?
On Wed, Feb 09, 2011 at 11:30:25AM +1100, Michael Knox wrote:
Try ralsh yumrepo
Just discovered that ralsh can even use custom types out of my
modules ... cool
$ ralsh zypprepo
zypprepo { 'repo-oss':
type => 'yast2',
descr => 'openSUSE-11.3-OSS',
baseurl => 'http://download.opensuse.org/distribution/11.3/repo/oss',
enabled => '1',
autorefresh => '1',
path => '/',
keeppackages => '0'
}
On 9/02/11 9:13 AM, Tim Dunphy wrote:
hello list!!
I remember using a command a while ago that converts all my yum repos
into a puppet manifest file. I have tried ralsh /etc/yum.repos.d/>
yumrepos.pp but that isn't quite doing it.. can someone please remind
me of the way to accomplish this task?
[root@virtcent13:~] #ralsh /etc/yum.repos.d> /etc/puppet/manifests/yumrepos.pp
Could not run: Could not find type /etc/yum.repos.d
thanks in advance!!
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" 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-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" 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-users?hl=en.