On Sat, Nov 13, 2010 at 12:53:35PM +0000, Edd Grant wrote:
> Hi all,
> 
> 1: sudo apt-get install puppet, installation completed but I noted the
> following warning (is this important?):
> *adduser*: *Warning: The home directory* `/*var/lib/*
> *puppet*' *does not belong to the user you are currently creating*

This is important because the puppetmaster will normally run as the user
puppet. And when you have something like ssldir = $vardir/ssl in your
/etc/puppet/pupppet.conf, then puppet cannot create its certificates.

You can try the following as user root (or sudo)

rm -R /var/lib/puppet
mkdir -m 0755 /var/lib/puppet
chown puppet:puppet /var/lib/puppet
puppet master --no-daemonize --verbose

The puppetmaster now can/should create everything necessary in
/var/lib/puppet. In another terminal now run

puppet agent --server puppet_or_whatever_hostname --test

You should now see a certificate request via
puppet cert --list

-Stefan

Attachment: pgpCfRj0h87IH.pgp
Description: PGP signature

Reply via email to