Hello puppet world,

I'm sure this is probably an easy fix, but I cannot seem to resolve this issue. The puppetmaster starts correctly and so does the puppet agent, which receives the update correctly if I restart the puppet agent service manually or during the timed updates; however, if I perform an "puppet kick", it just fails with the following error:

Triggering agent1.example.org
Host agent1.example.org failed: Got 1 failure(s) while initializing: change from directory to file failed: Could not set 'file on ensure: Is a directory - /var/lib/puppet/facts
agent1.example.org finished with exit code 2
Failed: agent1.example.org

I am running puppet 2.6.4, Centos 5.5, and ruby 1.8.5-5.el5_4.8 on both puppetmaster and agent. Here is my /var/lib/puppet directory on the puppetmaster:

drwxr-xr-x  9 root root 4096 Feb  8 10:57 ./
drwxr-xr-x 15 root root 4096 Feb  8 11:19 ../
drwxr-x---  2 root root 4096 Feb  8 10:57 client_data/
drwxr-x---  3 root root 4096 Feb  8 10:57 client_yaml/
drwxr-x---  7 root root 4096 Feb  9 13:17 clientbucket/
drwxrwxrwx  2 root root 4096 Feb  8 10:57 facts/
drwxr-xr-x  2 root root 4096 Feb  8 10:57 lib/
drwxrwxrwt  2 root root 4096 Feb  9 13:17 run/
drwxr-xr-t  3 root root 4096 Feb  9 13:17 state/

And in my /etc/puppet/auth.conf on the puppet agent, I have the following (mention in release notes somewhere):

path /run
method save
allow *

And, in my /etc/puppet/puppet.conf on the puppet agent (note, the server is not puppet.example.org):

[agent]
        server = myserver.example.org
        report = true
        listen = true
        puppetdlog = /var/log/puppet/puppet.log
        logdir = /var/log/puppet
        httplog = /var/log/puppet/http.log
        autoflush = true

Any help would be greatly appreciated.

Thank you,
Edwin

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to