Add bzr to iptables

Adds bzr to jenkins iptables
Adds symlink for rules.v4 to rules

Change-Id: I058cccde7e39860655c3762ca06e2bd5d93f3a1c
This commit is contained in:
Andrew Hutchings 2012-02-15 17:47:06 -08:00
parent d8056447b8
commit 8a91936e0a
1 changed files with 12 additions and 0 deletions

View File

@ -38,4 +38,16 @@ class iptables($rules='', $public_tcp_ports=[], $public_udp_ports=[]) {
notify => Service["iptables-persistent"],
;
}
file {
"/etc/iptables/rules.v4":
owner => "root",
group => "root",
mode => 640,
ensure => link,
target => "/etc/iptables/rules",
require => File["/etc/iptables/rules"],
notify => Service["iptables-persistent"]
}
}