[Puppet Users] Only send report email if resource failed during run

2010-02-09 Thread symfrog
Hi

I have configured puppet to send reports via email using tagsmail. The
problem is that it sends all the log messages every run (without a
metric summary), which is not so useful. Is it possible to only send a
report with the metrics only if one or more resources failed?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Only send report email if resource failed during run

2010-02-09 Thread Ohad Levy
Hi,

Latest version of foreman (http://theforeman.org) supports this feature.

cheers,
Ohad

On Tue, Feb 9, 2010 at 9:00 PM, symfrog wpdut...@gmail.com wrote:

 Hi

 I have configured puppet to send reports via email using tagsmail. The
 problem is that it sends all the log messages every run (without a
 metric summary), which is not so useful. Is it possible to only send a
 report with the metrics only if one or more resources failed?

 Thanks

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To post to this group, send email to puppet-us...@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.compuppet-users%2bunsubscr...@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-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Only send report email if resource failed during run

2010-02-09 Thread Joe McDonagh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ohad Levy wrote:
 Hi,
 
 Latest version of foreman (http://theforeman.org) supports this feature.
 
 cheers,
 Ohad
 
 On Tue, Feb 9, 2010 at 9:00 PM, symfrog wpdut...@gmail.com wrote:
 
 Hi

 I have configured puppet to send reports via email using tagsmail. The
 problem is that it sends all the log messages every run (without a
 metric summary), which is not so useful. Is it possible to only send a
 report with the metrics only if one or more resources failed?

 Thanks

 --
 You received this message because you are subscribed to the Google Groups
 Puppet Users group.
 To post to this group, send email to puppet-us...@googlegroups.com.
 To unsubscribe from this group, send email to
 puppet-users+unsubscr...@googlegroups.compuppet-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/puppet-users?hl=en.


 
Puppet has supported an 'err' tag since like .24.6, however if your
distro comes with something old, you may not have success trying to use
this.

- --
Joe McDonagh
AIM: YoosingYoonickz
IRC: joe-mac on freenode
L'ennui est contre-révolutionnaire

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEUEARECAAYFAktyBF8ACgkQRkBieEaRmuY36ACeNRfJiTCyM4GNAyrbgQmUYLET
yMMAlRPRBoCknJyi3rUxRJKomC4ghVE=
=is5Z
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.