Douglas Garstang
2010-Jul-22 03:45 UTC
[Puppet Users] File /etc/yum.conf does not contain a main section
I just upgraded puppet from 0.25.5 to 0.26, and I''m getting this: (/Stage[main]/Repo::Livegamer_software_base/Yumrepo[Livegamer-Software-Base]) Could not evaluate: File /etc/yum.conf does not contain a main section However, my /etc/yum.conf contains this. What''s wrong with that? Is puppet smoking crack? [main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 # Note: yum-RHN-plugin doesn''t honor this. metadata_expire=1h installonly_limit = 5 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d Doug. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
James Turnbull
2010-Jul-22 04:34 UTC
Re: [Puppet Users] File /etc/yum.conf does not contain a main section
Douglas Garstang wrote:> I just upgraded puppet from 0.25.5 to 0.26, and I''m getting this: > > (/Stage[main]/Repo::Livegamer_software_base/Yumrepo[Livegamer-Software-Base]) > Could not evaluate: File /etc/yum.conf does not contain a main sectionWell I''d say that''d be a bug. Can you please log a ticket with the results of the master and agent runs with --trace --debug --verbose enabled? Thanks James Turnbull -- Puppet Labs - http://www.puppetlabs.com C: 503-734-8571 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Douglas Garstang
2010-Jul-22 04:46 UTC
Re: [Puppet Users] File /etc/yum.conf does not contain a main section
On Wed, Jul 21, 2010 at 9:34 PM, James Turnbull <james@puppetlabs.com> wrote:> Douglas Garstang wrote: >> I just upgraded puppet from 0.25.5 to 0.26, and I''m getting this: >> >> (/Stage[main]/Repo::Livegamer_software_base/Yumrepo[Livegamer-Software-Base]) >> Could not evaluate: File /etc/yum.conf does not contain a main section > > Well I''d say that''d be a bug. > > Can you please log a ticket with the results of the master and agent > runs with --trace --debug --verbose enabled?James, Probably a minor bug. I retyped the [main] line, and puppet was happy. There was probably a trailing tab or white space at the end of the line. Easy to reproduce I guess.... still a bug? Doug. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jeff McCune
2010-Jul-22 17:12 UTC
Re: [Puppet Users] File /etc/yum.conf does not contain a main section
On Wed, Jul 21, 2010 at 9:46 PM, Douglas Garstang <doug.garstang@gmail.com> wrote:> James, > > Probably a minor bug. I retyped the [main] line, and puppet was happy. > There was probably a trailing tab or white space at the end of the > line. Easy to reproduce I guess.... still a bug? > > Doug.Doug, Thanks for taking the time and effort to test and report these issues. I''d say if yum parses the file OK, so should puppet, so yes I think it''s still a bug. You shouldn''t have to re-type the line to make it work. Cheers, -- Jeff McCune http://www.puppetlabs.com/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.