puppet

Puppet orchestration
Simon Murray

Simon Murray

spjmurray

10,959 downloads

5,581 latest version

4.3 quality score

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
  • Ubuntu

Start using this module

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