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 7526fad1c3
commit 5e094fb1a6
2 changed files with 13 additions and 1 deletions

View File

@ -175,7 +175,7 @@ node "gerrit-dev.openstack.org" {
}
node "jenkins.openstack.org" {
$iptables_public_tcp_ports = [80, 443]
$iptables_public_tcp_ports = [80, 443, 4155]
include openstack_server
include jenkins_master
}

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"]
}
}