Hi folks,

I'm running into an issue where a home grown fuse module is mounting a file 
structure, and it works the first time. But on the second run, Puppet 
complains:

Warning: /Stage[main]/Test/File[/home/myhome/dir1/dir2/dir3/dir4]: Could 
not stat; permission denied
Error: Could not set 'directory' on ensure: File exists - 
/home/myhome/dir1/dir2/dir3/dir4 at 
54:/etc/puppet/modules/test/manifests/init.pp
Error: Could not set 'directory' on ensure: File exists - 
/home/myhome/dir1/dir2/dir3/dir4 at 
54:/etc/puppet/modules/test/manifests/init.pp
Wrapped exception:
File exists - /home/myhome/dir1/dir2/dir3/dir4
Error: /Stage[main]/Test/File[/home/myhome/dir1/dir2/dir3/dir4]/ensure: 
change from absent to directory failed: Could not set 'directory' on 
ensure: File exists - /home/myhome/dir1/dir2/dir3/dir4 at 
54:/etc/puppet/modules/test/manifests/init.pp

There is a file {} resource which sets up the resources with:
ensure => directory,
mode => 0777,
owner => "myhome",

I am not sure how to trouble shoot this. Can anyone help?

Thanks.

-- 
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/bda3a334-eb23-4f28-b371-db5dd40d637c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to