- Description - What the module does and why it is useful
- Setup - Getting started with this module
- Usage - Command parameters and how to use them
- Reference - How the module works and how to use its output
- Limitations - Supported infrastructures and versions
This module provides a Puppet command puppet pe lookup
that outputs a key (class parameter) defined in Hiera and/or the Classifier.
Install this module on the Primary Master.
Run the puppet pe lookup <KEY>
command as root on the Primary Master.
String. The key to lookup.
String. The node to lookup. Defaults to the node where the command is run.
String. The environment of the node to lookup. Defaults to 'production'.
This command uses code used by puppet infrastructure recover_configuration
.
[root@pe-master ~] puppet pe lookup puppet_enterprise::profile::console::delayed_job_workers
# Node: pe-master.puppetdebug.vlan
# Key: puppet_enterprise::profile::console::delayed_job_workers
# Key found in Hiera:
---
puppet_enterprise::profile::console::delayed_job_workers: 1
# Key found in the Classifier:
{
"puppet_enterprise::profile::console::delayed_job_workers": 2
}
Support is limited to the following versions:
- PE 2018.x.x
- PE 2019.x.x