I'm using the very latest version of
puppet and have been following the Apress "Pro Puppet" guide step by step. I have installed
sudo aptitude install ruby libshadow-ruby1.8 sudo aptitude install puppet puppetmaster facter
I have edited
/etc/puppet/puppet.conf to include certname
I have edited /etc/hosts and added the following line
127.0.0.1 puppet.mydomain.com puppet
I have set the hostname of the server
echo "puppet.mydomain.com" > /etc/hostname hostname -F /etc/hostname
And then I try and run
puppet from the command line.
puppet master --verbose --no-daemonize
puppet gives me this error:
Could not parse for environment production: Could not find file /master.pp
I'm running all commands with
sudo and the last line of the error message always says that it can't find
master.pp and the path before it is to my current working directory.
What am I doing wrong?
I should also mention that I don't have a DNS record set up for
puppet.mydomain.com - I saw some online documentation mentioning this might be a problem - however I was fairly sure that the
hosts file would let me get around that.