Puppet Enterprise appeared to be installed on my ubuntu 14.04 server:
root@puppet:/# puppet --version
3.8.5 (Puppet Enterprise 3.8.4)
However, the puppet service is not running:
root@puppet:/# service puppet status
puppet: unrecognized service
The Puppet server seems to be working as well, as I can execute following command on the puppet master:
root@puppet:/# puppet resource package nginx
package { 'nginx':
ensure => '1.4.6-1ubuntu3.4',
Puppet cert list is empty as well even after running 'puppet agent -t' on a node:
root@puppet:/# puppet cert list
root@puppet:/#
To check the installed puppet version use puppet -V command and then create a new file called in the apt preferences directory with following configurations changes. root@ubuntu-client:~# puppet -V 3.8. 1 root@ubuntu-client:~# vim /etc/apt/preferences.
To see the settings the Puppet master service and the Puppet cert command would use: Specify --section master . Use the --environment option to specify the environment you want settings for, or let it default to production . Remember to use sudo .
For that purpose, puppet has a built in feature to export status info about its last run into a file (by default /var/lib/puppet/state/last_run_summary.
Disabling the Puppet agent creates a file /opt/puppetlabs/puppet/cache/state/agent_disabled. lock (re-enabling the agent removes it), so you can check for the presence of that file to detect whether or not the agent is disabled.
The puppet service is called pe-puppet
and not puppet
on PE 3.x.
puppet cert list
only displays the outstanding cert requests. You want puppet cert list --all
to display the signed certs. https://docs.puppet.com/puppet/latest/reference/man/cert.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With