So I have updated my Puppet version to 3.5.0 and puppet apply command which worked before is not working anymore. I have a certname defined in ~/.puppet/puppet.conf:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
manifestdir=$confdir/manifests
parser=future
certname=app.staging.hello.world
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
I am running command:
cd ~/.puppet and sudo puppet apply manifests/
And getting:
Error: Could not find default node or by name with 'ip-x-x-x-x.eu-west-1.compute.internal, ip-x-x-x-x.eu-west-1.compute, ip-x-x-x-x.eu-west-1, ip-x-x-x-x' on node ip-x-x-x-x.eu-west-1.compute.internal
Error: Could not find default node or by name with 'ip-x-x-x-x.eu-west-1.compute.internal, ip-x-x-x-x.eu-west-1.compute, ip-x-x-x-x.eu-west-1, ip-x-x-x-x' on node ip-x-x-x-x.eu-west-1.compute.internal
In ~/.puppet/manifests I have app.pp with node matching the certname:
node /^app\d*\.staging\d*\.(.*)$/
Why isn't Puppet picking it up?