[Puppet Users] Re: About puppet report

2012-02-17 Thread Andreas Paul
I don't know if there is a warning tag in puppet by default, but I would 
try using the specific error tag in your tagmail.conf
err: m...@email.tld

You could also try setting

all: m...@email.tld
to test if your puppetmaster can send report emails at all.

P.S. I had to restart my puppetmaster (apache httpd in my case) to get the 
modified tagmail.conf to work.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/vbMNU16sdxYJ.
To post to this group, send email to puppet-users@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.



[Puppet Users] Re: About puppet report

2012-02-16 Thread Dmitry
PS: my tagmail.conf file contains:

warning: m...@email.tld


On Feb 16, 9:44 am, Dmitry  wrote:
> Hello!
>
> I am using puppet-2.7.6 under FreeBSD.
>
> Here is my config file:
>
> [agent]
>   server = some.server.tld
>   splay = true
>
> [master]
>   reportfrom = s...@email.tld
>   reports = store, tagmail
>   ssl_client_header = SSL_CLIENT_S_DN
>   ssl_client_verify_header = SSL_CLIENT_VERIFY
>
> If client is unable to sync files with master, I want to receive e-
> mail with problem description.
> Recently I made a mistake in my server config (wrong path to a file).
>
> I got error in client's log:
> puppet-agent[82214]: (/Stage[main]/Suggest-test/File[/etc/rc.conf.d/
> lighttpd]) Could not evaluate: Could not retrieve information from
> environment production source(s) puppet:///modules/bsd/etc/rc.conf.d/lighttpd
> at /usr/local/etc/puppet/modules/bsd/manifests/init.pp:16
>
> but no e-mail so this problem was unnoticed until I found it in log.
>
> What should I do in order to receive e-mail from puppet next time I
> make similar mistake?
>
> 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-users@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.