On Wednesday, January 29, 2014 2:00:28 PM UTC-6, Jon Jaroker wrote:
>
> Hello, 
>
> Would anyone know what the error message "Could not set present on ensure: 
> Function not implemented" means.  It is appearing in Puppet 2.7.13 on a 
> File resource type.  The --debug flag does not give any hints.  
> [...]
> Any suggestions on how to troubleshoot this?
>
>

That's certainly an unhelpful message.  I suspect it really means "an 
unanticipated error occurred while trying to sync the target file's 
'ensure' property".  Since you are ensuring "present", Puppet would only be 
trying to do something with the ensure property if [it thought that] the 
file does not yet exist.

Some things to look at:

   1. Unless you want to accommodate the possibility that the target file 
   is a symlink, I would ensure 'file' rather than 'present'.  That is 
   unlikely to resolve the problem, however.
   2. Check whether the File's target directory exists.
   3. Check whether the File's target directory is readable and writable to 
   the Puppet agent.  Check that every directory in the path to it is 
   readable.  Even with the agent running as a privileged user such as root, 
   there are still ways that it might be denied access (e.g. SELinux, root 
   squashing [for network filesystems]).


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/882a1699-d99c-43b8-af80-e3c0da5616b5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to