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.