Ask Your Question
3

puppet logs

asked 2013-06-12 14:19:42 -0500

BaltoStar gravatar image

I have a single server with co-locating puppet master & agent

Ubuntu 12.04.2 , Puppet 3.2.1

puppetmasterd puppetd daemons are running

/etc/puppet/manifests/site.pp defines a target f5 device to configure

i assume puppet creates logs indicating if/how the manifest was applied ?

where can i view these logs , or otherwise monitor what puppet is doing ?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-06-12 20:01:56 -0500

llowder gravatar image

By default, puppet will log to syslog, in /var/log/puppet (open source) or /var/log/pe-puppet (Puppet Enterprise).

You can change this by specifying a logdir in your puppet.conf

As Ancillas mentioned, running puppet agent or master with --test and --debug will generate more verbose output, and will log to the console as well as syslog.

edit flag offensive delete link more

Comments

my log location is logdir = /var/log/pe-puppet but when i run #puppet agent -t its logging to console as well as syslog but not to logdir location ...but i want to seperate log files..

venky gravatar imagevenky ( 2016-08-04 23:22:02 -0500 )edit
0

answered 2013-06-12 15:23:42 -0500

Ancillas gravatar image

Call puppet with --test and --debug to see detailed console output.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-06-12 14:19:42 -0500

Seen: 843 times

Last updated: Jun 12 '13