puppet_status_check
: puppet_status_check fact and failed indicators
Puppet_status_check::Role
: puppet status check role
puppet_status_check::summary
: Summary report if the state of status check on each node Uses the facts task to get the current status from each node and produces a summary report in JSON
When this class is included and enabled, any of the indicators in the puppet_status_check fact that are false will add a notify resource to the catalog. Individual indicators can be disabled by adding the ID to the indicator_exclusions parameter.
include 'puppet_status_check':
The following parameters are available in the puppet_status_check
class:
Data type: Boolean
Enable checks
Default value: true
Data type: Puppet_status_check::Role
Role node performs
Default value: 'agent'
Data type: Boolean
Enable notify resources for failed checks
Default value: true
Data type: Array[String[1]]
List of disabled indicators, place any indicator ids you do not wish to report on in this list
Default value: ['AS003', 'S0006']
Data type: Hash
Hash containing a description for each check
Data type: String
Name of postgresql service unit
Default value: 'postgresql'
Data type: String
Path to postgresql pg_config binary
Default value: 'pg_config'
puppet status check role
Alias of Enum['primary', 'compiler', 'postgres', 'agent']
Summary report if the state of status check on each node Uses the facts task to get the current status from each node and produces a summary report in JSON
The following parameters are available in the puppet_status_check::summary
plan:
Data type: Optional[TargetSpec]
A comma seprated list of FQDN's of Puppet infrastructure agent nodes Defaults to using a PuppetDB query to identify nodes
Default value: undef
Data type: Array[String[1]]
List of disabled indicators, place any indicator ids you do not wish to report on in this list Static Hiera Data can be used to set indicator_exclusions in a plan - for more information see https://www.puppet.com/docs/pe/latest/writing_plans_in_puppet_language_pe.html#using_hiera_with_plans
Default value: lookup('puppet_status_check::indicator_exclusions', undef, undef, [])