Displaying 1 result from an estimated 1 matches for "nfsoption".
Did you mean:
nsoption
2007 Aug 30
4
Templates and Ruby
...emplate
that looks like this (but results in the puppetmasterd dying on the
server when the client updates):
<% nfsHomeClients.split.each do |host| -%>
/nfs <%= host %>(<%= mainshareoptions %>)
<% nfspaths.each do |path| -%>
<%= path %> <%= host %>(<%= nfsoptions %>)
<% end -%>
<% end -%>
The nfsHomeClients variable looks like this (hence the split used in the
template):
$nfsHomeClients = "server1 server2 server3 server4" # there are about
50 entries in this variable.
We use this variable for a custom firewall type that we have...