Displaying 3 results from an estimated 3 matches for "netbackup_master_servers".
2011 Feb 10
3
Unwanted whitespace generated by template
I have this in a template:
===============cut here=====================
# Allow ICMP traffic
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
<% if netbackup_master_servers %>
<% netbackup_master_servers.each do |master_server| -%>
# Allow communication with NetBackup master server <%= master_server[0] %>
-A RH-Firewall-1-INPUT -p tcp -m tcp -s <%= master_server[1] %>
--dport 13724 -j ACCEPT
===============cut here=====================
One extra...
2011 Nov 29
5
puppetlabs-firewall: source param as array
Hi,
am trying this rule:
firewall { ''100 allow ssh from GUNET'':
proto => ''tcp'',
dport => ''22'',
source => [''10.0.0.0/8'',''192.168.0.0/16'',],
action => accept,
}
and it only seems to add a rule for the first subnet. The second is
silently
2011 Jan 27
9
CIDR-matching in puppet manifests?
I have a few settings that change based on the network that a system is
in, and I have a heterogeneous collection of networks (a few /24s, some
/25s, a /29 and a couple /27s, and hey look a /16 in rfc1918 space
and...). So I can''t do simple regex matches on dotted-quad IP notation
and expect to get a complete story.
What I''d like is something like, I dunno...
$nameserver =