Dear all,

I'm trying to create a module for "autofs", and I need to create a
file, say auto.mymounts, on the clients with these:

alice           -
hard,intr,ro,nosuid,rsize=8192,wsize=8192,tcp,noatime,nfsvers=3
serv02:/experiment-software/EXP_SL5/alice
atlas           -
hard,intr,ro,nosuid,rsize=8192,wsize=8192,tcp,noatime,nfsvers=3
serv02:/experiment-software/EXP_SL5/atlas
biomed          -
hard,intr,ro,nosuid,rsize=8192,wsize=8192,tcp,noatime,nfsvers=3
serv02:/experiment-software/EXP_SL5/biomed
.........
.........

There will be actually few more lines like these in the original
version. How can I create a template for that other then putting those
static lines in the file?

Another catch is: The "ro" in the line must be changed to "rw" for a
number of hosts. How can I do that dynamically? Or is it possible at
all? Cheers!!

-- 
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.

Reply via email to