Displaying 1 result from an estimated 1 matches for "embip".
2008 Jul 02
12
Module interaction and dependencies in Puppet (SNMP in particular)
....so
<% if rwcommunities.length > 0 %> <%% Only parse if we have ips %>
# Read/write communities
<% rwcommunities.each do |community, ip| %>
<% if ip.is_array %> <%% One community, many IPs %>
<% ip.each do |embip| %>
rwcommunity <%= community %> <%= embip %>
<% end %>
<% else %> <%% One community, one IP %>
rwcommunity <%= community %> <%= ip %>
<% end %>
<% end %>
<% end %>
(I have n...