I found that the file struct under /etc/puppet/files was owned by root
(oops, fixed).
However,
in using this method outlined earlier, I'm still not able to get the
desired result:
> file { "/usr/local/nagios": ;
> "/usr/local/nagios/libexec":
> requires => File['/usr/local/nagios'],
> owner => 'root',
> mode => 655,
> group => 'root',
> ensure => directory,
> }
Mar 31 17:11:06 test-fms puppet-agent[29221]: (/Stage[main]/Nagios-
test/File[/usr/local/nagios/libexec]/ensure) change from absent to
directory failed: Cannot create /usr/local/nagios/libexec; parent
directory /usr/local/nagios does not exist
I find this very confusing - perhaps it's simpler to 'exec' a 'mkdir -
p' in here as a dependency if the structure doesn't exist?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.