Version information
Start using this module
Add this module to your Puppetfile:
mod 'stephenrjohnson-puppet', '0.0.17'
Learn more about managing modules with a PuppetfileDocumentation
Puppet module
This module provides classes for managing the puppet agent and puppet master. It will setup passenger and apache on the puppetmaster. Please note this will not setup puppetdb. This can be configured using the puppetdb module http://forge.puppetlabs.com/puppetlabs/puppetdb. Storedconfigs with puppetdb will only work on puppet versions newer than 2.7.12.
Prerequisites
If you are using a red hat based OS you also need to have the EPEL repo configured as this module requires the passenger apache module.
Usage Note
If you are using this module to install a puppetmaster and serving the manifest of the machine. You may have issues with it halting the puppet master if it is running through webrick. In which case run a single puppet run using
puppet apply -e "class{'puppet::repo::puppetlabs': } Class['puppet::repo::puppetlabs'] -> Package <| |> class { 'puppetdb': } class { 'puppet::master': storeconfigs => true }"
Master
class { 'puppetdb': }
class { 'puppet::master':
storeconfigs => true,
}
Master environments
puppet::masterenv {'dev':
modulepath => '/etc/puppet/evn/dev/modules',
manifest => '/etc/puppet/env/dev/site.pp',
}
puppet::masterenv {'production':
modulepath => '/etc/puppet/evn/production/modules',
manifest => '/etc/puppet/env/production/site.pp',
}
Agent
class { 'puppet::agent':
puppet_server => master.puppetlabs.vm,
environment => production,
splay => true,
}
2012-08-28 - Stephen Johnson stephen@pupppetlabs.com - 0.0.2
- Revert inifile updating sheel scripts as it adds spaces 2012-08-31 - Stephen Johnson stephen@puppetlabs.com - 0.0.3
- Fix reporting and add more spec tests 2012-09-05 - Stephen Johnson stephen@puppetlabs.com - 0.0.4
- Add pluginsync support
- Fix issue with inherited file permissions
- Cleanup code to use resource defaults 2013-03-22 Stephen Johnson stephen@puppetlabs.com - 0.0.5
- Updated dependencies 2013-03-29 Stephen Johnson stephen@puppetlabs.com - 0.0.7
- Added redhat support 2013-05-01 Stephen Johnson stephen@puppetlabs.com - 0.0.8
- Fix puppet site references 2013-05-12 Stephen Johnson stephen@puppetlabs.com - 0.0.9
- Add srv record support to client 2013-07-22 Stephen Johnson steve@thatbytes.co.ukm - 0.0.14
- Addeed support of version 0.8.0 of Apache module 2013-07-22 Stephen Johnson steve@thatbytes.co.ukm - 0.0.15
- Use puppetlabs inifile 2013-10-04 Stephen Johnson steve@thatbytes.co.ukm - 0.0.16
- Identation fixes
- Also add puppetmaster-common to get round version issue
- Add spec tests for puppetmaster-common 2013-10-04 Stephen Johnson steve@thatbytes.co.ukm - 0.0.17
- Fix for puppetmaster-common not being in redhat repo
Dependencies
- puppetlabs/inifile (>= 0.5.0)
- puppetlabs/apache (>= 0.8.0)
- puppetlabs/puppetdb (>= 1.1.5)