enable firewall
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
# @summary Class holds all parameters for the jenkins_cd module.
|
||||
# @param [array] reqpackages which packages to install
|
||||
# @param [string] pkg_ensure which packages to install
|
||||
# @param [string] js_host_fqdn fqdn of the host where Jenkins should run
|
||||
# @param [boolean] js_enable_fw whether to enable firewall control
|
||||
# @param [string] js_fw_rule the prefix for the firewall rule order
|
||||
# @param [string] js_jenkins_port the port to open for Jenkins
|
||||
# @param [string] js_source_net the source range to open
|
||||
##############################################################################
|
||||
class jenkins_cd::params (
|
||||
|
||||
@@ -13,6 +18,12 @@ class jenkins_cd::params (
|
||||
# server fqdn
|
||||
String $js_host_fqdn = 'jenkins.example.net',
|
||||
|
||||
# firewall
|
||||
Boolean $js_enable_fw = true,
|
||||
String $js_fw_rule = '50',
|
||||
String $js_jenkins_port = '80',
|
||||
String $js_source_net = '0.0.0.0/0',
|
||||
|
||||
) {
|
||||
# facts
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
Reference in New Issue
Block a user