I'm looking fir a way to configure puppet-agent to log in it's own file 
rather than /var/log/syslog.

I found that if I edit puppet.conf and specify for ex:
logdest = /var/log/puppetlabs/agent.log
That does it, however I'm using theforeman-puppet module for other Puppet 
related configuration which overwrites it. Though I haven't found within 
the modules directory where or how.

On Debian and Ubuntu I can edit /etc/default/puppet and specify the file 
there, as described here: 
https://support.puppet.com/hc/en-us/articles/219814687-Change-the-Puppet-run-log-location-using-logdest-in-Puppet-Enterprise

However that doesn't work for FreeBSD. 

Has anyone configured this before?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/bb9b3619-bd39-4e45-8f97-a6dcf743beb3n%40googlegroups.com.

Reply via email to