Hello, I would like to know it is possible to translate for example
the command
chmod -R 0777 /local.
As far as I know, I can write:
file { "/local":
     mode   => 0777,
     recurse => true,
     ensure  => directory;
}

but it does not apply the mode to all the /local subdirectories.
Is there a way to do that?

In addition, how is it possible to do
mkdir -P /local/dir1/dir2 .

if I write:

file { "/local/dir1/dir2":
     recurse => true,
     ensure  => directory;
}

it complains if /local/dir1 doesn't exist.

I hope someone can help me.
Cheers,
Adriana

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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