Forge Home

puppet

Puppet Module

11,510 downloads

9,447 latest version

1.5 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.0.8 (latest)
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Feb 25th 2015

Start using this module

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

Add this module to your Puppetfile:

mod 'xdrum-puppet', '0.0.8'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install xdrum-puppet --version 0.0.8

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

xdrum/puppet — version 0.0.8 Feb 25th 2015

This module manages puppet: master and agent nodes.

Currently supports: RHEL/CentOS, OpenBSD (agent only)

Class: puppet::master

Class for the puppet master module.

Parameters:

[autosign]
Enable autosigning CSRs [true, false], default: false. TODO: filepath support

[maintenance]
Enable the maintenance cronjob (cleanup old reports and clientbucket files) [true, false], default: false.

[maintenance_time]
Scheduled time for the maintenance cronjob [array: mm,hh], default: 00:30.

[manage_repo]
Enable repository management, default: false.

[modulepath]
Setup modulepath in puppet.conf, default: $confdir/modules:/usr/share/puppet/modules.

[servername]
Setup servername in puppet.conf, default: puppet.

[standalone]
Run puppetmaster in standalone mode (embedded WEBrick) or using Apache (namely apache, mod_passenger and rack) [true, false] default: true.

Requires:

  • puppetlabs-apache
  • puppetlabs-inifile
  • example42-yum

Sample Usage:

puppet apply --modulepath /etc/puppet/modules /etc/puppet/modules/puppet/manifests/master.pp
class { 'puppet::master':
  servername => 'master.foo.bar',
  standalone => false,
}

Class: puppet::agent

Class for the puppet agent module.

Parameters:

[configtimeout]
Configuration timeout in seconds for the puppet agent, default: 900.

[cron]
Enable puppet agent runs via cron job, default: false.

[noop]
Whether puppet agent should be run in noop mode, default: false.

[pluginsync]
Enable pluginsync for the puppet agent, default: true.

[service]
Enable puppet agent service, default: true.

[servername]
Setup servername in puppet.conf, default: puppet.

Requires:

  • puppetlabs-inifile
  • example42-yum

Sample Usage:

puppet apply --modulepath /etc/puppet/modules /etc/puppet/modules/puppet/manifests/agent.pp
class { 'puppet::agent':
  servername => 'master.foo.bar',
  service => true,
  cron => false,
}

Copyright:

Copyright 2015 Alessio Cassibba (X-Drum), unless otherwise noted.