Hey Darin,
Appreicate the quick response. It's there, in /etc/puppet/puppet.conf on
the master:
[master]
reports = tagmail
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
On Tuesday, June 12, 2012 2:58:50 PM UTC-4, Darin Perusich wrote:
>
> Add tagmail to reports in puppet.conf on the server.
>
> --
> Later,
> Darin
>
>
> On Tue, Jun 12, 2012 at 2:49 PM, Jason Knudsen <[email protected]>
> wrote:
> > Hey guys,
> >
> > Relatively new to Puppet and I'm trying to setup tagmail to send all
> emails
> > to me: at one point I'll filter that down to errors and whatnot (based
> on
> > tags) but for now I just want to get it working.
> >
> > Master Puppet server is setup with Passengers, all works well:
> >
> > /etc/puppet/puppet.conf
> > [main]
> > # The Puppet log directory.
> > # The default value is '$vardir/log'.
> > logdir = /var/log/puppet
> >
> > # Where Puppet PID files are kept.
> > # The default value is '$vardir/run'.
> > rundir = /var/run/puppet
> >
> > # Where SSL certificates are kept.
> > # The default value is '$confdir/ssl'.
> > ssldir = /etc/puppet/ssl
> >
> > [agent]
> > # The file in which puppetd stores a list of the classes
> > # associated with the retrieved configuratiion. Can be loaded in
> > # the separate ``puppet`` executable using the ``--loadclasses``
> > # option.
> > # The default value is '$confdir/classes.txt'.
> > classfile = $vardir/classes.txt
> >
> > # Where puppetd caches the local configuration. An
> > # extension indicating the cache format is added automatically.
> > # The default value is '$confdir/localconfig'.
> > localconfig = $vardir/localconfig
> >
> > # Turn on Reporting
> > report = true
> >
> > [master]
> > reports = tagmail
> > ssl_client_header = SSL_CLIENT_S_DN
> > ssl_client_verify_header = SSL_CLIENT_VERIFY
> >
> > And my /etc/puppet/tagmail.conf:
> > all: [email protected]
> >
> > On the slave, I have this setup in my puppet.conf:
> > [main]
> > # The Puppet log directory.
> > # The default value is '$vardir/log'.
> > logdir = /var/log/puppet
> >
> > # Where Puppet PID files are kept.
> > # The default value is '$vardir/run'.
> > rundir = /var/run/puppet
> >
> > # Where SSL certificates are kept.
> > # The default value is '$confdir/ssl'.
> > ssldir = $vardir/ssl
> >
> > # Stuff
> > server = puppet
> >
> > [agent]
> > # The file in which puppetd stores a list of the classes
> > # associated with the retrieved configuratiion. Can be loaded in
> > # the separate ``puppet`` executable using the ``--loadclasses``
> > # option.
> > # The default value is '$confdir/classes.txt'.
> > classfile = $vardir/classes.txt
> >
> > # Where puppetd caches the local configuration. An
> > # extension indicating the cache format is added automatically.
> > # The default value is '$confdir/localconfig'.
> > localconfig = $vardir/localconfig
> >
> > # Enable Reporting
> > report = true
> >
> >
> >
> > The reporting seems to work fine, my /var/lib/puppet/reports directory
> is
> > populated every time the agent is run. But I never receive an email, and
> > I've checked the /var/log/maillog (no event occurs).
> >
> > I'm sure I'm missing something stupid here -- been banging my head on it
> for
> > awhile. Any idea?
> >
> > Thanks,
> >
> > Jason
> >
> > --
> > 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/-/i1l6ylp8XXsJ.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > 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 view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/cjCwkXhAIJsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.