Puppet Class: puppet_cd::params

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.

Parameters:

  • pt_manage_fw (Boolean) (defaults to: true)

    whether to manage firewall settings

  • pt_pm_fqdn (String) (defaults to: 'puppetmaster.example.net')

    the fqdn for the puppetmaster and master

  • pt_db_fqdn (String) (defaults to: 'puppetdb.example.net')

    the fqdn for the puppetdb host.

  • pt_package_url (String) (defaults to: 'https://yum.puppet.com/puppet8-release-el-9.noarch.rpm')

    the url for fetching the repo rpm

  • pt_pkg_ensure (String) (defaults to: 'present')

    valid: “present”, “latest”, “v1.2.3”

  • pt_agent_pkg (String) (defaults to: 'puppet-agent')

    the packages for agents to install

  • pt_server_pkg (String) (defaults to: 'puppetserver')

    the server packages to install

  • pt_db_pkg (Array) (defaults to: ['puppetdb','puppetdb-termini'])

    the packages for puppetdb



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'manifests/params.pp', line 15

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'],

) {
  $fqdn                     = $facts['networking']['fqdn']

# service
  $pt_service               = 'puppetserver'

#
  # includes must be last
  include puppet_cd::main::config
}