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
7526fad1c3
commit
5e094fb1a6
@ -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
|
||||
}
|
||||
|
@ -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
Block a user