3
0

adjust everything for compliance with puppet-lint

This commit is contained in:
Arne Teuke
2025-05-16 11:43:58 +02:00
parent 834fc4085b
commit af0271c446
29 changed files with 72 additions and 5915 deletions

View File

@@ -2,81 +2,81 @@
# Module name: puppet_cd
# Author: Arne Teuke (arne_teuke@confdroid)
# @summary Class manages parameters for the puppet_cd module.
# @param [boolean] pt_manage_fw whether to manage firewall settings
# @param [string] pt_pm_fqdn the fqdn for the puppetmaster and master
# @param [Boolean] pt_manage_fw whether to manage firewall settings
# @param [String] pt_pm_fqdn the fqdn for the puppetmaster and master
# settings are applied. any other fqdn # will be considered a puppet agent.
# @param [string] pt_db_fqdn the fqdn for the puppetdb host.
# @param [string] pt_pkg_ensure valid: "present", "latest", "v1.2.3"
# @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.
# @param [boolean] pt_manage_user whether to manage the puppet user
# @param [string] pt_user the puppet user
# @param [string] pt_user_comment the user comment
# @param [string] pt_user_home the user home
# @param [string] pt_user_shell the user shell
# @param [boolean] pt_manage_db_user whether to manage the user for puppetdb
# @param [string] pt_db_user the puppetdb user
# @param [string] pt_db_user_comment the user comment for puppetdb user
# @param [string] pt_db_user_home the user home for the puppetdb user
# @param [string] pt_db_user_shell the shell for the puppetdb user
# @param [boolean] pt_use_puppetdb whether to use puppetdb on host
# @param [string] pt_environment the environment
# @param [boolean] pt_basemodulepath the base module path
# @param [string] pt_logdir the log directory
# @param [boolean] pt_allow_duplicate_certs whether to allow duplicated certs
# @param [string] pt_pluginfactsource the plugin fact source
# @param [string] pt_pluginsource the plugin source
# @param [string] pt_runinterval the runinterval
# @param [string] pt_reports where to send the run reports
# @param [boolean] pt_show_diff whether to show the diff
# @param [boolean] pt_default_schedules the default run schedules
# @param [string] pt_masterport the master port to listen on
# @param [boolean] pt_noop whether noop should be executed
# @param [boolean] pt_pluginsync whether pluginsync should be allowed
# @param [boolean] pt_report whether reports should be created
# @param [boolean] pt_splay whether to enable a sleeping period before runs
# @param [string] pt_splaylimit the splay limit
# @param [boolean] pt_usecacheonfailure whether to use the cache on failure
# @param [string] pt_autosign where to check the autosign settings
# @param [boolean] pt_ca whether to be a ca
# @param [string] pt_external_nodes the external node settings (ENC)
# @param [string] pt_logdir_master the log directory on the master
# @param [string] pt_node_terminus Which node data plugin to use when compiling
# @param [String] pt_db_fqdn the fqdn for the puppetdb host.
# @param [String] pt_pkg_ensure valid: "present", "latest", "v1.2.3"
# @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.
# @param [Boolean] pt_manage_user whether to manage the puppet user
# @param [String] pt_user the puppet user
# @param [String] pt_user_comment the user comment
# @param [String] pt_user_home the user home
# @param [String] pt_user_shell the user shell
# @param [Boolean] pt_manage_db_user whether to manage the user for puppetdb
# @param [String] pt_db_user the puppetdb user
# @param [String] pt_db_user_comment the user comment for puppetdb user
# @param [String] pt_db_user_home the user home for the puppetdb user
# @param [String] pt_db_user_shell the shell for the puppetdb user
# @param [Boolean] pt_use_puppetdb whether to use puppetdb on host
# @param [String] pt_environment the environment
# @param [Boolean] pt_basemodulepath the base module path
# @param [String] pt_logdir the log directory
# @param [Boolean] pt_allow_duplicate_certs whether to allow duplicated certs
# @param [String] pt_pluginfactsource the plugin fact source
# @param [String] pt_pluginsource the plugin source
# @param [String] pt_runinterval the runinterval
# @param [String] pt_reports where to send the run reports
# @param [Boolean] pt_show_diff whether to show the diff
# @param [Boolean] pt_default_schedules the default run schedules
# @param [String] pt_masterport the master port to listen on
# @param [Boolean] pt_noop whether noop should be executed
# @param [Boolean] pt_pluginsync whether pluginsync should be allowed
# @param [Boolean] pt_report whether reports should be created
# @param [Boolean] pt_splay whether to enable a sleeping period before runs
# @param [String] pt_splaylimit the splay limit
# @param [Boolean] pt_usecacheonfailure whether to use the cache on failure
# @param [String] pt_autosign where to check the autosign settings
# @param [Boolean] pt_ca whether to be a ca
# @param [String] pt_external_nodes the external node settings (ENC)
# @param [String] pt_logdir_master the log directory on the master
# @param [String] pt_node_terminus Which node data plugin to use when compiling
# node catalogs.
# @param [boolean] pt_strict_variables Causes an evaluation error when
# @param [Boolean] pt_strict_variables Causes an evaluation error when
# referencing unknown variables
# @param [boolean] pt_storeconfigs whether store client configs.
# @param [string] pt_storeconfigs_backend where to store client configs
# @param [string] pt_parser which parser version to use
# @param [boolean] pt_cert_revocation whether to check for cert revocations
# @param [string] pt_logging_max_file_size max file size for puppetdb logging
# @param [string] pt_logging_max_history max logging history
# @param [string] pt_logging_total_size total size of logging file
# @param [string] pt_com_proc_threads number of processing threads
# @param [string] pt_concurrent_writes max concurrent writes
# @param [string] pt_db_subname the db name
# @param [string] pt_db_username the db username
# @param [string] pt_db_password the db password
# @param [string] pt_gc_interval garbage collection interval (Java)
# @param [string] pt_log_slow_statements number of seconds before an SQL query
# @param [Boolean] pt_storeconfigs whether store client configs.
# @param [String] pt_storeconfigs_backend where to store client configs
# @param [String] pt_parser which parser version to use
# @param [Boolean] pt_cert_revocation whether to check for cert revocations
# @param [String] pt_logging_max_file_size max file size for puppetdb logging
# @param [String] pt_logging_max_history max logging history
# @param [String] pt_logging_total_size total size of logging file
# @param [String] pt_com_proc_threads number of processing threads
# @param [String] pt_concurrent_writes max concurrent writes
# @param [String] pt_db_subname the db name
# @param [String] pt_db_username the db username
# @param [String] pt_db_password the db password
# @param [String] pt_gc_interval garbage collection interval (Java)
# @param [String] pt_log_slow_statements number of seconds before an SQL query
# is considered "slow."
# @param [string] pt_puppetdb_source_lan the source lan for puppetdb clients
# @param [boolean] pt_soft_write_failure allows the PuppetDB-termini to fail
# @param [String] pt_puppetdb_source_lan the source lan for puppetdb clients
# @param [Boolean] pt_soft_write_failure allows the PuppetDB-termini to fail
# softly if PuppetDB is not accessible for command submission.
# @param [string] pt_no_ssl_host ip range for non-ssl hosts
# @param [string] pt_ssl_host ip range for SSL hosts
# @param [string] pt_ssl_key location of the private key
# @param [string] pt_ssl_cert location of the ssl cert
# @param [string] pt_ssl_ca_cert location of the ssl ca cert
# @param [boolean] pt_log_access whether to configure log access
# @param [string] pt_access_log_config the location of the access log config
# @param [boolean] pt_enable_repl whether to allow puppetdb replication
# @param [string] pt_repl_port the replication port
# @param [string] pt_repl_host the replication host
# @param [String] pt_no_ssl_host ip range for non-ssl hosts
# @param [String] pt_ssl_host ip range for SSL hosts
# @param [String] pt_ssl_key location of the private key
# @param [String] pt_ssl_cert location of the ssl cert
# @param [String] pt_ssl_ca_cert location of the ssl ca cert
# @param [Boolean] pt_log_access whether to configure log access
# @param [String] pt_access_log_config the location of the access log config
# @param [Boolean] pt_enable_repl whether to allow puppetdb replication
# @param [String] pt_repl_port the replication port
# @param [String] pt_repl_host the replication host
###############################################################################
class puppet_cd::params (