action to jump

This commit is contained in:
Arne Teuke
2024-12-19 10:54:52 +01:00
parent 82056cee25
commit a2dc5b5175
2 changed files with 5 additions and 17 deletions

4
Jenkinsfile vendored
View File

@@ -80,7 +80,7 @@ pipeline {
'''
}
}
/*
stage('SonarScan') {
steps {
sh '''
@@ -92,7 +92,7 @@ pipeline {
'''
}
}
*/
stage('create Puppet documention') {
steps {
sh '/opt/puppetlabs/bin/puppet strings'

View File

@@ -29,27 +29,15 @@ class cd_nagios::firewall::iptables (
if $ng_use_https != true {
firewall { "${ng_fw_order}${ng_http_port} port ${ng_http_port}":
proto => ['tcp','udp'],
dport => $ng_http_port,
action => 'accept',
}
}
include confdroid_infrastructure::firewall::http
if $ng_use_https == true {
firewall { "${ng_fw_order}${ng_https_port} port ${ng_https_port}":
proto => ['tcp','udp'],
dport => $ng_https_port,
action => 'accept',
}
include confdroid_infrastructure::firewall::https
if $ng_http_https_fw == true {
firewall { "${ng_fw_order}${ng_http_port} port ${ng_http_port}":
proto => ['tcp','udp'],
dport => $ng_http_port,
action => 'accept',
include confdroid_infrastructure::firewall::http
}
}
}