puppet

Puppet module for managing the configuration of Puppet as an agent and a master.

MAD Hacking

hacking

8,007 downloads

8,007 latest version

4.6 quality score

Version information

  • 0.1.0 (latest)
released May 7th 2015
This version is compatible with:
  • Gentoo

Start using this module

Documentation

hacking/puppet — version 0.1.0 May 7th 2015

Puppet configuration module for Puppet

Description

Puppet module for managing the configuration of Puppet as both master and slave.

Example usage

Puppet Master

class { 'puppet::master': autosign => true, reports => 'store', }

In addition the storeconfigs parameter (default: false) may be supplied.

Resulting files

/etc/puppet/puppet.conf

# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!

[main]
logdir = /var/log/puppet
pluginsync = true

[master]
autosign = true
reports = store
storeconfigs = false

Puppet Agent

class { 'puppet::agent': server => "puppet.example.com", }

In addition the runinterval parameter (default: '15m') and the report parameter (default: true) may be supplied.

Resulting files

/etc/puppet/puppet.conf

# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!

[main]
logdir = /var/log/puppet
pluginsync = true

[agent]
server = puppet.example.com
runinterval = 15m
report = true

Puppet Master & Agent

class { 'puppet::master': autosign => true, reports => 'store', }
class { 'puppet::agent': server => "puppet.example.com", }

Resulting files

/etc/puppet/puppet.conf

# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!

[main]
logdir = /var/log/puppet
pluginsync = true

[master]
autosign = true
reports = store
storeconfigs = false

[agent]
server = puppet.example.com
runinterval = 15m
report = true