This module is deprecated. Do not use it anymore
Manage Puppet 4/5+ apply, agent, certificate, and other Puppet tools configuration.
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with puppet
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module utilizes Hiera hierarchies to customize Puppet configuration for all three commands:
puppet apply
puppet agent
puppet cert
puppet lookup
- ...etc
Configures Puppet 4/5+ agent, user tools, etc.
- Manages the Puppet yum repositories (if desired)
- Upgrades the
puppet-agent
package (if desired) - Performs single-option configuration changes allowing local customizations to remain
- Strives to demonstrate Puppet best practices.
- Yumrepo
- Puppet package repository
- Packages
- Puppet package
- Configuration Files
- /etc/puppetlabs/puppet/puppet.conf
Requires the puppet-agent
package to be installed. (catch-22 yes I know)
Hiera configuration:
classes:
- puppet
- puppet::agent (optional)
Configuration values in Hiera (or supplied by an node terminus):
- Common
puppet::package_name
= Override the defaultpuppet-agent
package name (for custom packages)puppet::manage_repo
= Boolean to manage the yum repo for the specified Puppet versionpuppet::repo_enabled
= Boolean to enable the repo for all Yum commandspuppet::repos
= hash to override the public repo with a local mirrorpuppet::version
= 'latest', 'present', 'absent', or a specific version.puppet::config
= Hash of configuration parameters for the[main]
section of puppet.confpuppet::user::config
= Hash of configuration parameters for the[user]
section of puppet.conf
- Agent
puppet::agent::status
= 'Running' (default) or 'Stopped'puppet::agent::enabled
= true (default) or falsepuppet::agent::config
= Hash of configuration parameters for the [agent] section of puppet.conf
- Classes
puppet
- Maintains package repository, puppet package, and [main] block of puppet.confpuppet::user
- Maintains [user] block of puppet.confpuppet::agent
- Maintains [agent] block of puppet.conf and thepuppet
service