Yep, use descr => 'blah' instead of name => 'blah'
On Friday, 4 December 2009 18:50:31 UTC, Bryan Schneiders wrote: > > I'm using puppet-0.24.8-4.el5 on CentOS 5.4. > > My problem is yumrepo isn't writing the "name=" field to the > repository files which causes yum to complain with the error: > > Repository 'local-CentOS-5.4-x86_64' is missing name in configuration, > using id > > I get this behavior on all of my yumrepo definitions. One of them > looks like this: > > yumrepo { > "local-$lsbdistid-$release-$architecture": > name => "local-$lsbdistid-$release-$architecture", > baseurl => "http://hostname.changed.com:80/cobbler/ks_mirror/ > $lsbdistid-$release-$architecture > <http://hostname.changed.com:80/cobbler/ks_mirror/$lsbdistid-$release-$architecture>", > > > enabled => 1, > gpgcheck => 0, > priority => 10; > } > > and the resulting file contents are: > > [local-CentOS-5.4-x86_64] > baseurl=http://hostname.changed.com:80/cobbler/ks_mirror/CentOS-5.4- > x86_64 > <http://hostname.changed.com:80/cobbler/ks_mirror/CentOS-5.4-x86_64> > enabled=1 > gpgcheck=0 > priority=10 > > I can't find any mailing list discussions or bug reports on this. Can > anyone verify this behavior on other versions of puppet? > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c4bb2137-aab0-4d91-9127-a21f4cb36246%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.