3
0

fix firewall

This commit is contained in:
Arne Teuke
2025-02-26 17:05:18 +01:00
parent 6750222c93
commit 55bcbb6e1c
4 changed files with 57 additions and 9 deletions

View File

@@ -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