I've read previous posts about iterating over arrays, hashes, etc.

I have a series of directories that need to be created (and
maintained, with appropriate permissions) that serve as NFS mount
points on a series of systems.    Sometimes, when they are no longer
needed, they will be removed (another issue).

I thought I could just create a simple array and then use a file {}
statement to ensure they are created.   Seems simple enough.  Some
don't feel that's the most efficient way.

Since I'm going to be using autofs to ensure the mounts exist, I
suppose I could craft a template which could make use of this array
and then ship out the autofs configuration to each system, as a
dependency.

Might someone offer advice on how to best handle this one.


Thanks!

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