#pe_agent
####Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with pe_agent
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
##Overview
The pe_agent module installs, configures and manages the Puppet Enterprise Agent's pe-puppet service (the pe-mcollective components are managed by a different module).
##Module Description
The pe_agent module is dependent on the PE Package Repositories available on any Puppet Enterprise Master version 3.2 or greater. This module was designed so that PE users who have recently upgraded to PE 3.2 can now easily upgrade their > 3.2 PE agents.
##Setup
###What pe_agent affects
- pe-agent package (and pe-* packages related to PE)
- /etc/puppetlabs/puppet/puppet.conf configuration file.
- pe-puppet service.
###Beginning with pe_agent
include '::pe_agent'
is enough to get you up and running.
class { '::pe_agent':
agent_caserver => 'puppetca.company.lan',
}
###Parameters
The following parameters are available in the ntp module:
####config
Path to the puppet.conf file (defaults to /etc/puppetlabs/puppet/puppet.conf)
####package_ensure
Version of pe-agent to ensure, by default this is set to latest, and uses the 'current' package repository on the master. this will auto upgrade agents if master is updated
If you specify a version number, it may cause issues with general vs specific version differences (ie 3.2.0 vs 3.2.0.el6.1).
####repo_yum
& repo_apt
Hostname of yum repository with pe-agent packages on it, assumes the hostname is of a PE master with the pe_repo class properly applied to it.
####agent_server
& agent_caserver
& agent_environment
Sets the server, ca_server and environment settings on the agents puppet.conf file.
Defaults to nil and does not manage the settings unless overridden in node classification.
##Limitations
This module has been tested only on upgrading EL 6 3.1 agent to 3.2, note lack of tests folder or spec tests, and the 0.0.X status :-D