Mesut Muhammet Şahin
2013-May-07 07:42 UTC
[Puppet Users] Puppet Don''t Send Message If Any Changes
I have two different server type. Once is debian 6.0 squeeze and puppet version is "2.6.2". And other Ubuntu 12.04 and puppet version 2.7.11. Puppet master server is Ubuntu 12.04. I write something in /etc/crond.d/puppetcron which works specific time. Problem is if debian servers have any changes, don''t send mail me but ubuntu server send mail when every work like this: info: Caching catalog for hostname info: Applying configuration version bla bla notice: Finished catalog run in 13.27 seconds I use that [1]: + # Now remove any lines like this + # Puppet (notice): Finished catalog run in 14.14 seconds + messages = messages.reject do |log| + true if log.to_s =~ /Finished catalog run in .* seconds/ + end And this method only delete /Finished catalog run in .* seconds/ line. Other lines comes again in mail. I don''t apply any changes. Why receive I this mail. I don''t want that. Is it possible? [1] : http://projects.puppetlabs.com/issues/9167 -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
David Schmitt
2013-May-07 19:46 UTC
Re: [Puppet Users] Puppet Don''t Send Message If Any Changes
On 2013-05-07 09:42, Mesut Muhammet Şahin wrote:> I have two different server type. Once is debian 6.0 squeeze and puppet > version is "2.6.2". And other Ubuntu 12.04 and puppet version 2.7.11. > Puppet master server is Ubuntu 12.04. I write something in > /etc/crond.d/puppetcron which works specific time. Problem is if debian > servers have any changes, don''t send mail me but ubuntu server send mail > when every work like this: > > info: Caching catalog for hostname > info: Applying configuration version bla bla > notice: Finished catalog run in 13.27 secondsDo both systems have the same puppetcron and /etc/puppet/puppet.conf settings? If you run the puppetcron script or the contained commands from a terminal, do you see the expected messages? Is the Debian server configured properly to send mails? Regards, David -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.