Add bzr to iptables
Adds bzr to jenkins iptables Adds symlink for rules.v4 to rules Change-Id: I058cccde7e39860655c3762ca06e2bd5d93f3a1c
This commit is contained in:
parent
d8056447b8
commit
8a91936e0a
|
@ -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"]
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue