Forge Home

puppetdeploy

Puppet code deployment orchestration

8,654 downloads

8,654 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

  • 1.0.0 (latest)
released Jul 22nd 2015
This version is compatible with:

Start using this module

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

Add this module to your Puppetfile:

mod 'spjmurray-puppetdeploy', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install spjmurray-puppetdeploy --version 1.0.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

spjmurray/puppetdeploy — version 1.0.0 Jul 22nd 2015

#Puppet Deploy

####Table Of Contents

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

##Overview

Manages accounts on Jenkins and across Puppet servers to allow synchronisation of puppet environments across a cluster

##Module Description

This is intended for use with a Jenkins CI deployment server. It installs a private key SSH on Jenkins and public key on a Puppet CA. Jenkins then pushes environments to /etc/puppet/environments. Lsyncd is deployed on the Puppet CA to monitor for changes which it then propagates across the cluster. This is facilitated with RSync over SSH, for which the requisite keys are installed.

##Usage

###Jenkins CI Server

class { 'puppetdeploy':
  is_jenkins          => true,
  jenkins_private_key => file('puppet:///modules/keys/jenkins_private_key'),
}

###Puppet CA Server

class { 'puppetdeploy':
  is_puppet_ca       => true,
  jenkins_public_key => file('puppet:///modules/keys/jenkins_public_key'),
  puppet_private_key => file('puppet:///modules/keys/puppet_private_key'),
  puppet_masters     => [
    'puppet0',
    'puppet1',
    'puppet2',
  ],
}

###Puppet Master Server

class { 'puppetdeploy':
  is_puppet_master  => true,
  puppet_public_key => file('puppet:///modules/keys/puppet_private_key'),
}

##Dependencies