Puppet Class: puppet_cd::params
- Inherited by:
-
puppet_cd::main::dirs
puppet_cd::main::files
puppet_cd::main::config
puppet_cd::main::install
puppet_cd::main::yumrepo
puppet_cd::server::service
puppet_cd::firewall::iptables
- Defined in:
- manifests/params.pp
Summary
Class manages parameters for the puppet_cd module.Overview
puppet_cd::params.pp Module name: puppet_cd Author: Arne Teuke (arne_teuke@confdroid) settings are applied. any other fqdn # will be considered a puppet agent.
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'manifests/params.pp', line 18
class puppet_cd::params (
Boolean $pt_manage_fw = true,
String $pt_pm_fqdn = 'puppetmaster.example.net',
String $pt_db_fqdn = 'puppetdb.example.net',
# installation
String $pt_package_url = 'https://yum.puppet.com/puppet8-release-el-9.noarch.rpm',
String $pt_pkg_ensure = 'present',
String $pt_agent_pkg = 'puppet-agent',
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_server_service = 'puppetserver'
$pt_agent_service = 'puppet'
$pt_db_service = 'puppetdb'
#
# includes must be last
include puppet_cd::main::config
}
|