Forge Home

puppet

Puppet orchestration

12,665 downloads

6,707 latest version

4.3 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

  • 1.4.0 (latest)
  • 1.3.5
  • 1.3.3
  • 1.3.2
  • 1.2.1
  • 1.2.0
  • 1.1.1
  • 1.1.0
  • 1.0.0
released Jan 30th 2017
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.0.0 < 5.0.0

Start using this module

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

Add this module to your Puppetfile:

mod 'spjmurray-puppet', '1.4.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install spjmurray-puppet --version 1.4.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
Tags: puppet

Documentation

spjmurray/puppet — version 1.4.0 Jan 30th 2017

#Puppet

Build Status

####Table Of Contents

  1. Overview
  2. Module Description
  3. Usage
  4. Dependencies
  5. Contribution

##Overview

Deploys and configures Puppet

##Module Description

Lightweight puppet deployment. Performs only the most rudimentary installation tasks, configuration is up to the user. Configuration is performed entriely in hiera to cleanly separate code from data. Puppet defaults are typically sufficient to create a working setup.

##Usage

include ::puppet
include ::puppet::server
---
puppet::repo_manage: true

puppet::hiera: |
  :backends:
    - yaml
  :yaml:
    :datadir: "/etc/puppet/environments/%{literal('%')}{::environment}/hiera"
  :hierarchy:
    - "nodes/%{literal('%')}{::hostname}"
    - "modules/%{literal('%')}{calling_module}"
    - common

puppet::conf:
  master:
    environmentpath: '$confdir/environments'

Please note the literal sequences in the puppet::hiera string as at present with foss hiera it will try interpolate %{} statements unconditionally

##Dependencies

If you are using the HAProxy load balancer class you will need

##Contribution

I'm keen to keep this module lightweight and maintainable. As such, much is hard coded to Ubuntu, however most pertinent options can be controlled via parameters. Likewise there are no configuration related hacks, all configuration is passed in pretty much verbatim via parameters, so should never be changed.

That said if extensions are required ensure the changes are unit tested before submission. Please at least run:

rake lint
rake validate
rake beaker