OP#581 fix params
This commit is contained in:
@@ -10,8 +10,8 @@ class confdroid_jenkins::main::install (
|
|||||||
require confdroid_java
|
require confdroid_java
|
||||||
require confdroid_jenkins::main::yumrepo
|
require confdroid_jenkins::main::yumrepo
|
||||||
|
|
||||||
package { $reqpackages:
|
package { $js_reqpackages:
|
||||||
ensure => $pkg_ensure,
|
ensure => $js_pkg_ensure,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,14 +2,15 @@
|
|||||||
# Module name: confdroid_jenkins
|
# Module name: confdroid_jenkins
|
||||||
# Author: 12ww1160 (12ww1160@confdroid.com)
|
# Author: 12ww1160 (12ww1160@confdroid.com)
|
||||||
# @summary Class holds all parameters for the confdroid_jenkins module.
|
# @summary Class holds all parameters for the confdroid_jenkins module.
|
||||||
# @param [Array] reqpackages which packages to install
|
# @param [Array] js_reqpackages which packages to install
|
||||||
# @param [String] pkg_ensure which packages to install
|
# @param [String] js_pkg_ensure which packages to install
|
||||||
# @param [String] js_gpg_check whether to enable GPG check for Jenkins packages
|
# @param [String] js_gpg_check whether to enable GPG check for Jenkins packages
|
||||||
# @param [String] js_repo_enabled whether to enable the Jenkins repository
|
# @param [String] js_repo_enabled whether to enable the Jenkins repository
|
||||||
# @param [String] js_host_fqdn fqdn of the host where Jenkins should run
|
# @param [String] js_host_fqdn fqdn of the host where Jenkins should run
|
||||||
# @param [String] js_base_url the base URL for the Jenkins repository
|
# @param [String] js_base_url the base URL for the Jenkins repository
|
||||||
# @param [String] js_key the filename of the Jenkins GPG key to import
|
# @param [String] js_key the filename of the Jenkins GPG key to import
|
||||||
# @param [String] js_key_code the code of the Jenkins GPG key to check
|
# @param [String] js_key_code the code of the Jenkins GPG key to check
|
||||||
|
# @param [String] js_gpg_repo_check whether to enable GPG check for the Jenkins repository
|
||||||
# @param [Boolean] js_enable_fw whether to enable firewall control
|
# @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_fw_rule the prefix for the firewall rule order
|
||||||
# @param [String] js_jenkins_port the port to open for Jenkins
|
# @param [String] js_jenkins_port the port to open for Jenkins
|
||||||
@@ -18,8 +19,8 @@
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
class confdroid_jenkins::params (
|
class confdroid_jenkins::params (
|
||||||
|
|
||||||
Array $reqpackages = ['jenkins','fontconfig'],
|
Array $js_reqpackages = ['jenkins','fontconfig'],
|
||||||
String $pkg_ensure = 'latest',
|
String $js_pkg_ensure = 'present',
|
||||||
String $js_gpg_check = '1',
|
String $js_gpg_check = '1',
|
||||||
String $js_repo_enabled = '1',
|
String $js_repo_enabled = '1',
|
||||||
String $js_gpg_repo_check = '1',
|
String $js_gpg_repo_check = '1',
|
||||||
|
|||||||
Reference in New Issue
Block a user