Version information
Start using this module
Add this module to your Puppetfile:
mod 'fsalum-puppetmaster', '0.0.8'
Learn more about managing modules with a PuppetfileDocumentation
Puppet Master Module for Puppet
Use this module to deploy a puppetmaster server via 'puppet apply' command and avoid using a few manual steps.
Requirements
It requires the PuppetLabs Repository added before using the module on Debian systems. Use:
$ puppet module install puppetlabs-apt
And then add data below to your node resource:
apt::source { 'puppetlabs':
location => 'http://apt.puppetlabs.com',
repos => 'main',
key => '4BD6EC30',
key_server => 'pgp.mit.edu',
}
Quick Start
$ puppet module install fsalum-puppetmaster
Include the following in your master.pp if you plan to install puppetmaster with passenger:
package { 'puppetmaster-passenger':
ensure => installed,
}
class { puppetmaster:
puppetmaster_service_ensure => 'stopped',
puppetmaster_service_enable => 'false',
puppetmaster_report => 'true',
puppetmaster_autosign => 'true',
puppetmaster_modulepath => '$confdir/modules:$confdir/modules-0',
}
And run:
$ puppet apply --modulepath /etc/puppet/modules master.pp
Parameters
You can also set some extra parameters to enable or disable a few options:
-
puppetmaster_package_ensure
Specify the package update state. Defaults to 'present'. Possible value is 'latest'.
-
puppetmaster_service_ensure
Specify the service running state. Defaults to 'running'. Possible value is 'stopped'.
-
puppetmaster_service_enable
Specify the service enable state. Defaults to 'true'. Possible value is 'false'.
-
puppetmaster_server
Specify the Puppet Master server name.
-
puppetmaster_certname
Specify the Puppet Master certificate name. It is usually the server hostname.
-
puppetmaster_report
Send reports after every transction. Defaults to 'true'. Possible value is 'false'.
-
puppetmaster_autosign
Whether to enable autosign. Defaults to 'false'. Possible value is 'true' or file path.
-
puppetmaster_reports
List of reports to generate. See documentation for possible values.
-
puppetmaster_reporturl
The URL used by the http reports processor to send reports.
-
puppetmaster_facts_terminus
The node facts terminus. Defaults to facter. Possible value is 'PuppetDB'.
-
puppetmaster_modulepath
Defines the module path.
-
puppetmaster_templatepath
Defines the template path.
Author
Felipe Salum fsalum@gmail.com
2014-06-03 - Romuald du Song romuald.dusong@deveryware.com - 0.0.8
- Allow specifying an array of modules instead of one module for puppetmaster service. 2014-05-09 - Ryan Peck iamreck@gmail.com - 0.0.7
- Added templatepath configuration option 2014-04-12 - Felipe Salum fsalum@gmail.com - 0.0.6
- Moved from operatingsystem to osfamily 2014-02-17 - Felipe Salum fsalum@gmail.com - 0.0.5
- Updated puppetlabs yum repo
- Added dependency on stdlib 2013-10-31 - Felipe Salum fsalum@gmail.com - 0.0.4
- Same as 0.0.3, typo 2013-10-31 - Felipe Salum fsalum@gmail.com - 0.0.3
- Fixed puppetlabs-release package name
- Moving from cprice404-inifile to puppetlabs-inifile dependency 2012-10-31 - Felipe Salum fsalum@gmail.com - 0.0.2
- Added a check for the puppetmaster service resource because of conflicts with
- PuppetDB puppetmaster service resource 2012-10-25 - Felipe Salum fsalum@gmail.com - 0.0.1
- Initial Forge release
Dependencies
- puppetlabs/inifile (>= 1.0.0)
- puppetlabs/stdlib (>= 1.0.0)