fix firewall
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
# @param [string] pt_agent_pkg the packages for agents to install
|
||||
# @param [string] pt_server_pkg the server packages to install
|
||||
# @param [array] pt_db_pkg the packages for puppetdb
|
||||
# @param [string] pt_no_ssl_port non-ssl port number for puppetdb
|
||||
# @param [string] pt_ssl_port ssl port for puppetdb
|
||||
# @param [boolean] pt_use_ssl_only whether to use ssl only.
|
||||
###############################################################################
|
||||
class puppet_cd::params (
|
||||
|
||||
@@ -25,11 +28,17 @@ class puppet_cd::params (
|
||||
String $pt_server_pkg = 'puppetserver',
|
||||
Array $pt_db_pkg = ['puppetdb','puppetdb-termini'],
|
||||
|
||||
String $pt_no_ssl_port = '8080',
|
||||
String $pt_ssl_port = '8081',
|
||||
Boolean $pt_use_ssl_only = true,
|
||||
|
||||
) {
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
# service
|
||||
$pt_service = 'puppetserver'
|
||||
$pt_server_service = 'puppetserver'
|
||||
$pt_agent_service = 'puppet'
|
||||
$pt_db_service = 'puppetdb'
|
||||
|
||||
#
|
||||
# includes must be last
|
||||
|
||||
Reference in New Issue
Block a user