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!
Dmitry
unread,
Feb 16, 2012, 5:53:57 AM2/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Puppet Users
PS: my tagmail.conf file contains:
warning: m...@email.tld
On Feb 16, 9:44 am, Dmitry <trtrmi...@gmail.com> 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
Andreas Paul
unread,
Feb 17, 2012, 9:58:15 AM2/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
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.