Forge Home

puppet

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

9,019 downloads

9,019 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

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

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'hacking-puppet', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add hacking-puppet
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install hacking-puppet --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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