broker_setup_check
Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x
- Puppet >= 6.21.0 < 9.0.0
- , , , , , ,
Tasks:
- get_agent_broker
Plans:
- broker_setup_check
Start using this module
Add this module to your Puppetfile:
mod 'martyewings-broker_setup_check', '0.1.0'
Learn more about managing modules with a PuppetfileDocumentation
broker_setup_check
Table of Contents
Description
This Module provides a plan to determine if the pxp-agent on the compilers in your system are correctly configured to connect to the broker on the Primary Server.
This prevents issue where the compilers have been misconfigured to point to themselves or other compilers, which is one of the most common reasons for upgrade and configuration and other orchestration failures.
Usage
Simply Run the plan broker_setup_check::broker_setup_check and observe the output, there are no required input parameters as all the target information is determined programatically.
Reference
Table of Contents
Tasks
get_agent_broker
: A task to return the configured broker_uri in a pxp-agent configuration on a puppet agent
Plans
broker_setup_check::broker_setup_check
: Plan to confirm if the compiler broker services are correctly configured to connect to the Primary broker service
Tasks
get_agent_broker
A task to return the configured broker_uri in a pxp-agent configuration on a puppet agent
Supports noop? false
Plans
broker_setup_check::broker_setup_check
Plan to confirm if the compiler broker services are correctly configured to connect to the Primary broker service
Parameters
The following parameters are available in the broker_setup_check::broker_setup_check
plan:
compilers
Data type: TargetSpec
Default value: puppetdb_query('inventory[certname]{ facts.pe_status_check_role = "pe_compiler" }').map |$r| { $r['certname'] }
What are tasks?
Modules can contain tasks that take action outside of a desired state managed by Puppet. It’s perfect for troubleshooting or deploying one-off changes, distributing scripts to run across your infrastructure, or automating changes that need to happen in a particular order as part of an application deployment.
Tasks in this module release
get_agent_broker
A task to return the configured broker_uri in a pxp-agent configuration on a puppet agent
What are plans?
Modules can contain plans that take action outside of a desired state managed by Puppet. It’s perfect for troubleshooting or deploying one-off changes, distributing scripts to run across your infrastructure, or automating changes that need to happen in a particular order as part of an application deployment.