On Thu, Mar 03, 2011 at 05:49:58PM -0800, Forrie wrote:
> I caught that, thank you -- I've wiped my glasses thoroughly ;-)
(:
> One other issue I'm running into is I would like the client to
> *create* (mkdir) the mountpoint with the correct permissions if it
> doesn't exist. I don't see a way that can be done within the mount
> {} construct...
No, mount has no way to create the directories, it's purely an
interface to the mount command.
> is there a clever way I can do this for a multiple of
> directories. Maybe from an array.
Do it automatically? Rather than just using a file{...} call?
file{ [ "/srv/mount1" , "/srv/mount2" ]: ... }
and so forth.
--
Ben Hughes || http://www.puppetlabs.com/
--
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.