Go to main content

Using Puppet to Perform Configuration Management in Oracle® Solaris 11.4

Exit Print View

Updated: October 2019
 
 

Troubleshooting Issues With Puppet in Oracle Solaris

The puppet master and agent services log most activity to the syslog service. The syslog configuration dictates where these messages are saved. In Oracle Solaris, the default location is the /var/adm/messages directory.

Puppet service logs are stored in the following locations:

$ svcprop -p config/logdest puppet:master
/var/log/puppetlabs/puppet/puppet-master.log
$ svcprop -p config/logdest puppet:agent
/var/log/puppetlabs/puppet/puppet-agent.log

Puppet SMF service instance logs are stored in the following locations:

$ svcs -L puppet:master puppet:agent
/var/svc/log/application-puppet:master.log
/var/svc/log/application-puppet:agent.log

Use the svcs -Lv command to view the complete log file of the service:

$ svcs -Lv puppet:master

The following example shows the kind of information you might see in the service log for the Puppet master:

2018-06-14 13:33:05 -0700 Puppet (notice): Signed certificate request for ca
2018-06-14 13:33:05 -0700 Puppet (notice): solaris.local has a waiting certificate request
2018-06-14 13:33:05 -0700 Puppet (notice): Signed certificate request for solaris.local
2018-06-14 13:33:05 -0700 Puppet (notice): Removing file Puppet::SSL::CertificateRequest solaris.local at
 '/etc/puppetlabs/puppet/ssl/ca/requests/solaris.local.pem'
2018-06-14 13:33:05 -0700 Puppet (notice): Removing file Puppet::SSL::CertificateRequest solaris.local at
 '/etc/puppetlabs/puppet/ssl/certificate_requests/solaris.local.pem'
2018-06-14 13:33:05 -0700 Puppet (warning): The WEBrick Puppet master server is deprecated and will be removed in a future
 release. Please use Puppet Server instead. See http://links.puppet.com/deprecate-rack-webrick-servers for more information.
   (at /usr/ruby/2.1/lib/ruby/vendor_ruby/2.1.0/puppet/application/master.rb:207:in `main'
2018-06-14 13:33:06 -0700 Puppet (notice): Reopening log files
2018-06-14 13:33:06 -0700 Puppet (notice): Starting Puppet master version 5.5.0
2018-06-14 13:33:33 -0700 Puppet (notice): Caught TERM; exiting
2018-06-14 13:33:44 -0700 Puppet (warning): The WEBrick Puppet master server is deprecated and will be removed in a future
 release. Please use Puppet Server instead. See http://links.puppet.com/deprecate-rack-webrick-servers for more information.
   (at /usr/ruby/2.1/lib/ruby/vendor_ruby/2.1.0/puppet/application/master.rb:207:in `main'
2018-06-14 13:33:44 -0700 Puppet (notice): Reopening log files
2018-06-14 13:33:44 -0700 Puppet (notice): Starting Puppet master version 5.5.0