[Pkg-puppet-devel] Bug#557769: puppet: /var/lib/puppet/client_yaml should be created
Adrian Bridgett
adrian at smop.co.uk
Tue Nov 24 10:19:38 UTC 2009
Package: puppet
Version: 0.25.1-2
Hi there,
I've upgraded my clients and received this error:
err: Could not retrieve catalog from remote server: No such file or
directory - /var/lib/puppet/client_yaml/catalog
This turned out to be caused by /var/lib/puppet/client_yaml not
existing on the client (not puppetmaster). A strace shows:
6114 stat64("/var/lib/puppet/client_yaml/catalog", 0xffc5b988) = -1
ENOENT (No such file or directory)
6114 mkdir("/var/lib/puppet/client_yaml/catalog", 0777) = -1 ENOENT
(No such file or directory)
As /var/lib/puppet/client_yaml does not exist that mkdir is failing.
Creating it owned by root seems to be acceptible, it doesn't need to
be owned by puppet.
puppet.conf contains:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=$vardir/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=true
dbmigrate=true
server=puppet1.example.com
[puppetmasterd]
templatedir=/etc/puppet/templates
factpath=/etc/puppet/facts
certname=puppet1.example.com
storeconfigs=true
dbadapter=sqlite3
[puppetca]
certname=puppet1.example.com
[puppetd]
catalog_format=marshal
runinterval=7200
#report=true
Adrian
--
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...
More information about the Pkg-puppet-devel
mailing list