On Thursday, January 17, 2013 11:17:27 AM UTC-6, Gustavo Henrique Borges 
wrote:
>
> hi, can you help me? when I start the puppetmaster it returns me the 
> following error:
>
> Could not prepare for execution: 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
>
>
It looks like Puppet is complaining that there is a directory 
/var/lib/puppet/facts, but it needs to be a file (presumably one writable 
by the master).  I cannot guess how you may have gotten into that 
situation.  It is likely that simply removing /var/lib/puppet/facts and all 
its contents will resolve that error (Puppet should create the file 
itself), but that might not prevent the situation from recurring, and of 
course you shouldn't just delete blindly.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/8cMWjPqSdVYJ.
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