action to jump
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -80,7 +80,7 @@ pipeline {
|
|||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
stage('SonarScan') {
|
stage('SonarScan') {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
@@ -92,7 +92,7 @@ pipeline {
|
|||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
stage('create Puppet documention') {
|
stage('create Puppet documention') {
|
||||||
steps {
|
steps {
|
||||||
sh '/opt/puppetlabs/bin/puppet strings'
|
sh '/opt/puppetlabs/bin/puppet strings'
|
||||||
|
|||||||
@@ -29,27 +29,15 @@ class cd_nagios::firewall::iptables (
|
|||||||
|
|
||||||
if $ng_use_https != true {
|
if $ng_use_https != true {
|
||||||
|
|
||||||
firewall { "${ng_fw_order}${ng_http_port} port ${ng_http_port}":
|
include confdroid_infrastructure::firewall::http
|
||||||
proto => ['tcp','udp'],
|
|
||||||
dport => $ng_http_port,
|
|
||||||
action => 'accept',
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if $ng_use_https == true {
|
if $ng_use_https == true {
|
||||||
|
|
||||||
firewall { "${ng_fw_order}${ng_https_port} port ${ng_https_port}":
|
include confdroid_infrastructure::firewall::https
|
||||||
proto => ['tcp','udp'],
|
|
||||||
dport => $ng_https_port,
|
|
||||||
action => 'accept',
|
|
||||||
}
|
|
||||||
|
|
||||||
if $ng_http_https_fw == true {
|
if $ng_http_https_fw == true {
|
||||||
|
|
||||||
firewall { "${ng_fw_order}${ng_http_port} port ${ng_http_port}":
|
include confdroid_infrastructure::firewall::http
|
||||||
proto => ['tcp','udp'],
|
|
||||||
dport => $ng_http_port,
|
|
||||||
action => 'accept',
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user