I have followed the following three How-To's
http://terokarvinen.com/2012/puppetmaster-on-ubuntu-12-04
https://help.ubuntu.com/12.04/serverguide/puppet.html#puppet-installation
http://docs.puppetlabs.com/guides/install_puppet/post_install.html
I get to the point of being able to start the puppet node, and on the master using puppet cert --list
seeing the certificate and accepting it using cert --sign
However passed this point the node does not pick up the changes from the master. The master has the following node:
include apache2
And the following manifest:
package {
'apache2':
ensure => installed
}
service {
'apache2':
ensure => true,
enable => true,
require => Package['apache2']
}
I have restarted puppet
and puppetmaster
multiple times as well as let the servers sit all weekend and still the node has not installed apache2
onto itself.
EDIT:
Using puppet master --verbose -no-daemonize
I receive the following:
root@puppetmaster:/etc/puppet/manifests# puppet master --verbose -no-daemonize
Error: Could not intialize global default settings: Error parsing arguments
Wrapped exception:
invalid argument syntax: '--'
Using `puppet agent –test –noop' I receive the following:
root@puppet:/var/log/puppet# puppet agent --test --noop
Notice: Skipping run of Puppet configuration client; administratively disabled (Reason: 'Disabled by default on new installations');
Use 'puppet agent --enable' to re-enable.
Best Answer
I see you do not have logs. I would stop
puppetmaster
on the master server then run it this way:On the node server, stop
puppet
service and run it verbose withnoop
:This should give you some output that will hopefully help troubleshooting.
My guess: Certificate issues. It usually is with
puppet
.