[Pkg-puppet-devel] Bug#557769: Bug#557769: puppet: /var/lib/puppet/client_yaml should be created

Adrian Bridgett adrian at smop.co.uk
Mon Dec 21 08:55:04 UTC 2009


I was pretty sure TBH (I was possibly on a backport of 0.25.1-2 from
backports.org).  Checking one box (which is definitely the backports
package it certainly seems that it's not working - at least not in all
circumstances:

abridgett at ripley:~$ dpkg -l |grep puppet
ii  puppet                                 0.25.1-2~bpo50+1
centralised configuration management for net
abridgett at ripley:~$ cd /var/lib/puppet/
abridgett at ripley:/var/lib/puppet$ ls
clientbucket  client_yaml  facts  lib  ssl  state  templates
abridgett at ripley:/var/lib/puppet$ ls client_yaml/
catalog
abridgett at ripley:/var/lib/puppet$ ls
client_yaml/catalog/ripley.smop.co.uk.yaml  
abridgett at ripley:/var/lib/puppet$ sudo mv client_yaml/ /tmp/
abridgett at ripley:/var/lib/puppet$ sudo puppetd --test --noop
info: Retrieving plugin
info: Loading facts in nosegneg
info: Loading facts in osfamily
info: Loading facts in mountpoints
info: Loading facts in cputype
info: Loading facts in hosting_provider
info: Loading facts in userspace
info: Loading facts in nosegneg
info: Loading facts in osfamily
info: Loading facts in mountpoints
info: Loading facts in cputype
info: Loading facts in hosting_provider
info: Loading facts in userspace
info: Caching catalog for ripley.smop.co.uk
err: Could not retrieve catalog from remote server: No such file or
directory - /var/lib/puppet/client_yaml/catalog
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
abridgett at ripley:/var/lib/puppet$ 
abridgett at ripley:/var/lib/puppet$ sudo mv /tmp/client_yaml/ .
abridgett at ripley:/var/lib/puppet$ sudo puppetd --test --noop
info: Retrieving plugin
info: Loading facts in nosegneg
info: Loading facts in osfamily
info: Loading facts in mountpoints
info: Loading facts in cputype
info: Loading facts in hosting_provider
info: Loading facts in userspace
info: Loading facts in nosegneg
info: Loading facts in osfamily
info: Loading facts in mountpoints
info: Loading facts in cputype
info: Loading facts in hosting_provider
info: Loading facts in userspace
info: Caching catalog for ripley.smop.co.uk
info: Applying configuration version '1261385596'
notice: Finished catalog run in 6.23 seconds


Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS





More information about the Pkg-puppet-devel mailing list