Hi I was hoping there is a way to supress this type of log messages but cannot find anything to help. Tue Dec 29 12:04:53 -0800 2009 //yum/Package[autofs]/ensure (notice): created Tue Dec 29 12:04:54 -0800 2009 //yum/Package[attr]/ensure (notice): created Tue Dec 29 12:04:54 -0800 2009 //yum/Package[rdist]/ensure (notice): created Tue Dec 29 12:04:55 -0800 2009 //yum/Package[unix2dos]/ensure (notice): created Tue Dec 29 12:04:56 -0800 2009 //yum/Package[talk]/ensure (notice): created Tue Dec 29 12:04:58 -0800 2009 //yum/Package[sos]/ensure (notice): created Tue Dec 29 12:04:59 -0800 2009 //yum/Package[krb5-workstation]/ensure (notice): created Tue Dec 29 12:05:00 -0800 2009 //yum/Package[system-config-network- tui]/ensure (notice): created Tue Dec 29 12:05:00 -0800 2009 Puppet (notice): Finished catalog run in 33.66 seconds This is a shortened version of the manifest that generates them. class yum { package { [ ''setarch'', ''talk'', ''unix2dos'', ''wireless-tools'', ''wpa_supplicant'', ''ypbind'', ''yum-updatesd'', ]: ensure => purged, } I realize the messages are useful...once, but every run produces dozens of these lines even though nothing has changed. This is on CentOS 5.3 with Puppet 0.25.1 -- 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.
Hi Jamie, On Tue, Dec 29, 2009 at 10:32 PM, Jamie <gojamiegirl@gmail.com> wrote:> Hi > > I was hoping there is a way to supress this type of log messages but > cannot find anything to help. > > Tue Dec 29 12:04:53 -0800 2009 //yum/Package[autofs]/ensure (notice): > created > Tue Dec 29 12:04:54 -0800 2009 //yum/Package[attr]/ensure (notice): > created > Tue Dec 29 12:04:54 -0800 2009 //yum/Package[rdist]/ensure (notice): > created > Tue Dec 29 12:04:55 -0800 2009 //yum/Package[unix2dos]/ensure > (notice): created > Tue Dec 29 12:04:56 -0800 2009 //yum/Package[talk]/ensure (notice): > created > Tue Dec 29 12:04:58 -0800 2009 //yum/Package[sos]/ensure (notice): > created > Tue Dec 29 12:04:59 -0800 2009 //yum/Package[krb5-workstation]/ensure > (notice): created > Tue Dec 29 12:05:00 -0800 2009 //yum/Package[system-config-network- > tui]/ensure (notice): created > Tue Dec 29 12:05:00 -0800 2009 Puppet (notice): Finished catalog run > in 33.66 seconds > > This is a shortened version of the manifest that generates them. > class yum { > package { [ > ''setarch'', > ''talk'', > ''unix2dos'', > ''wireless-tools'', > ''wpa_supplicant'', > ''ypbind'', > ''yum-updatesd'', ]: ensure => purged, > } >hi, this has been reported as http://projects.reductivelabs.com/issues/2833 I have updated the ticket. In the meantime, you will not see this error message if you use: ensure => absent instead of purged. hope this helps, Dan> > I realize the messages are useful...once, but every run produces > dozens of these lines even though nothing has changed. > > This is on CentOS 5.3 with Puppet 0.25.1 > > -- > > 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<puppet-users%2Bunsubscribe@googlegroups.com> > . > 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 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.
Hi Dan Thanks for the pointer to the bug. I actually used purge in my manifest because when I tried absent I would get errors about not being able to remove a package because it was needed by something else. On Dec 29, 10:04 pm, Dan Bode <d...@reductivelabs.com> wrote:> Hi Jamie, > > > > On Tue, Dec 29, 2009 at 10:32 PM, Jamie <gojamieg...@gmail.com> wrote: > > Hi > > > I was hoping there is a way to supress this type of log messages but > > cannot find anything to help. > > > Tue Dec 29 12:04:53 -0800 2009 //yum/Package[autofs]/ensure (notice): > > created > > Tue Dec 29 12:04:54 -0800 2009 //yum/Package[attr]/ensure (notice): > > created > > Tue Dec 29 12:04:54 -0800 2009 //yum/Package[rdist]/ensure (notice): > > created > > Tue Dec 29 12:04:55 -0800 2009 //yum/Package[unix2dos]/ensure > > (notice): created > > Tue Dec 29 12:04:56 -0800 2009 //yum/Package[talk]/ensure (notice): > > created > > Tue Dec 29 12:04:58 -0800 2009 //yum/Package[sos]/ensure (notice): > > created > > Tue Dec 29 12:04:59 -0800 2009 //yum/Package[krb5-workstation]/ensure > > (notice): created > > Tue Dec 29 12:05:00 -0800 2009 //yum/Package[system-config-network- > > tui]/ensure (notice): created > > Tue Dec 29 12:05:00 -0800 2009 Puppet (notice): Finished catalog run > > in 33.66 seconds > > > This is a shortened version of the manifest that generates them. > > class yum { > > package { [ > > ''setarch'', > > ''talk'', > > ''unix2dos'', > > ''wireless-tools'', > > ''wpa_supplicant'', > > ''ypbind'', > > ''yum-updatesd'', ]: ensure => purged, > > } > > hi, this has been reported as > > http://projects.reductivelabs.com/issues/2833 > > I have updated the ticket. In the meantime, you will not see this error > message if you use: > > ensure => absent > > instead of purged. > > hope this helps, > > Dan > > > > > I realize the messages are useful...once, but every run produces > > dozens of these lines even though nothing has changed. > > > This is on CentOS 5.3 with Puppet 0.25.1 > > > -- > > > 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<puppet-users%2Bunsubscribe@googlegroups.com> > > . > > 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 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.
Hi, On Wed, Dec 30, 2009 at 6:54 PM, Jamie <gojamiegirl@gmail.com> wrote:> Hi Dan > > Thanks for the pointer to the bug. I actually used purge in my > manifest because when I tried absent I would get errors about not > being able to remove a package because it was needed by something > else. > > yeah, absent does an rpm -e, purge does a yum erase (which handlesdependencies). I dont know how deep the dep paths are, but you could manually remove all of the deps with absent to get rid of the messages, this is a little safer anyways so that puppet is documenting all of the packages that are actually removed. You could also write an exec exec{"/usr/bin/yum erase ${blah}": onlyif => ''/bin/rpm -q ${blah}'' } Feel free to vote on the issue :) regards, Dan worker bee reductivelabs On Dec 29, 10:04 pm, Dan Bode <d...@reductivelabs.com> wrote:> > Hi Jamie, > > > > > > > > On Tue, Dec 29, 2009 at 10:32 PM, Jamie <gojamieg...@gmail.com> wrote: > > > Hi > > > > > I was hoping there is a way to supress this type of log messages but > > > cannot find anything to help. > > > > > Tue Dec 29 12:04:53 -0800 2009 //yum/Package[autofs]/ensure (notice): > > > created > > > Tue Dec 29 12:04:54 -0800 2009 //yum/Package[attr]/ensure (notice): > > > created > > > Tue Dec 29 12:04:54 -0800 2009 //yum/Package[rdist]/ensure (notice): > > > created > > > Tue Dec 29 12:04:55 -0800 2009 //yum/Package[unix2dos]/ensure > > > (notice): created > > > Tue Dec 29 12:04:56 -0800 2009 //yum/Package[talk]/ensure (notice): > > > created > > > Tue Dec 29 12:04:58 -0800 2009 //yum/Package[sos]/ensure (notice): > > > created > > > Tue Dec 29 12:04:59 -0800 2009 //yum/Package[krb5-workstation]/ensure > > > (notice): created > > > Tue Dec 29 12:05:00 -0800 2009 //yum/Package[system-config-network- > > > tui]/ensure (notice): created > > > Tue Dec 29 12:05:00 -0800 2009 Puppet (notice): Finished catalog run > > > in 33.66 seconds > > > > > This is a shortened version of the manifest that generates them. > > > class yum { > > > package { [ > > > ''setarch'', > > > ''talk'', > > > ''unix2dos'', > > > ''wireless-tools'', > > > ''wpa_supplicant'', > > > ''ypbind'', > > > ''yum-updatesd'', ]: ensure => purged, > > > } > > > > hi, this has been reported as > > > > http://projects.reductivelabs.com/issues/2833 > > > > I have updated the ticket. In the meantime, you will not see this error > > message if you use: > > > > ensure => absent > > > > instead of purged. > > > > hope this helps, > > > > Dan > > > > > > > > > I realize the messages are useful...once, but every run produces > > > dozens of these lines even though nothing has changed. > > > > > This is on CentOS 5.3 with Puppet 0.25.1 > > > > > -- > > > > > 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<puppet-users%2Bunsubscribe@googlegroups.com> > <puppet-users%2Bunsubscribe@googlegroups.com<puppet-users%252Bunsubscribe@googlegroups.com> > > > > > . > > > 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 puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > 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 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.
Thank you Dan, I think I''ll stick with what I''ve got and just make sure I rotate the logs. When testing my yum module, I created a list of exactly which packages are removed by running `yum list installed` before and after running my yum module so I''m safe there. Jamie On Dec 30, 10:46 am, Dan Bode <d...@reductivelabs.com> wrote:> Hi, > > On Wed, Dec 30, 2009 at 6:54 PM, Jamie <gojamieg...@gmail.com> wrote: > > Hi Dan > > > Thanks for the pointer to the bug. I actually used purge in my > > manifest because when I tried absent I would get errors about not > > being able to remove a package because it was needed by something > > else. > > > yeah, absent does an rpm -e, purge does a yum erase (which handles > > dependencies). > > I dont know how deep the dep paths are, but you could manually remove all of > the deps with absent to get rid of the messages, this is a little safer > anyways so that puppet is documenting all of the packages that are actually > removed. > > You could also write an exec > > exec{"/usr/bin/yum erase ${blah}": > onlyif => ''/bin/rpm -q ${blah}'' > > } > > Feel free to vote on the issue :) > > regards, > > Dan > worker bee > reductivelabs > > On Dec 29, 10:04 pm, Dan Bode <d...@reductivelabs.com> wrote: > > > > Hi Jamie, > > > > On Tue, Dec 29, 2009 at 10:32 PM, Jamie <gojamieg...@gmail.com> wrote: > > > > Hi > > > > > I was hoping there is a way to supress this type of log messages but > > > > cannot find anything to help. > > > > > Tue Dec 29 12:04:53 -0800 2009 //yum/Package[autofs]/ensure (notice): > > > > created > > > > Tue Dec 29 12:04:54 -0800 2009 //yum/Package[attr]/ensure (notice): > > > > created > > > > Tue Dec 29 12:04:54 -0800 2009 //yum/Package[rdist]/ensure (notice): > > > > created > > > > Tue Dec 29 12:04:55 -0800 2009 //yum/Package[unix2dos]/ensure > > > > (notice): created > > > > Tue Dec 29 12:04:56 -0800 2009 //yum/Package[talk]/ensure (notice): > > > > created > > > > Tue Dec 29 12:04:58 -0800 2009 //yum/Package[sos]/ensure (notice): > > > > created > > > > Tue Dec 29 12:04:59 -0800 2009 //yum/Package[krb5-workstation]/ensure > > > > (notice): created > > > > Tue Dec 29 12:05:00 -0800 2009 //yum/Package[system-config-network- > > > > tui]/ensure (notice): created > > > > Tue Dec 29 12:05:00 -0800 2009 Puppet (notice): Finished catalog run > > > > in 33.66 seconds > > > > > This is a shortened version of the manifest that generates them. > > > > class yum { > > > > package { [ > > > > ''setarch'', > > > > ''talk'', > > > > ''unix2dos'', > > > > ''wireless-tools'', > > > > ''wpa_supplicant'', > > > > ''ypbind'', > > > > ''yum-updatesd'', ]: ensure => purged, > > > > } > > > > hi, this has been reported as > > > >http://projects.reductivelabs.com/issues/2833 > > > > I have updated the ticket. In the meantime, you will not see this error > > > message if you use: > > > > ensure => absent > > > > instead of purged. > > > > hope this helps, > > > > Dan > > > > > I realize the messages are useful...once, but every run produces > > > > dozens of these lines even though nothing has changed. > > > > > This is on CentOS 5.3 with Puppet 0.25.1 > > > > > -- > > > > > 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<puppet-users%2Bunsubscribe@googlegroups.com> > > <puppet-users%2Bunsubscribe@googlegroups.com<puppet-users%252Bunsubscribe@googlegroups.com> > > > > > . > > > > 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 puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to > > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > > . > > 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 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.