Forge Home

puppet

Puppet module to update puppet

14,159 downloads

11,426 latest version

3.1 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.7 (latest)
  • 0.1.6
  • 0.1.5
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Feb 4th 2015
This version is compatible with:
  • Puppet 3.x
  • , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'gajdaw-puppet', '0.1.7'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install gajdaw-puppet --version 0.1.7

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, update

Documentation

gajdaw/puppet — version 0.1.7 Feb 4th 2015

puppet Puppet Module

Table of Contents

  1. Overview
  2. Setup
  3. Usage
  4. Limitations
  5. Development

Overview

This module updates Puppet.

The instruction comes from: https://docs.puppetlabs.com/guides/install_puppet/install_debian_ubuntu.html

Setup

To install the module run:

sudo puppet install module gajdaw-puppet

Usage

You can update Puppet running:

sudo puppet apply -e "include puppet"

You can also use the example:

sudo puppet apply example-01.pp

Limitations

The module was tested on:

  • Ubuntu
    • 12.04 (precise) (Vagrant box: ubuntu/precise32)
    • 14.04 (trusty) (Vagrant box: ubuntu/trusty32)
  • Debian
    • 6.0 (squeeze) (Vagrant box: chef/debian-6.0.8)
    • 7.4 (wheezy) (Vagrant box: chef/debian-7.4)
  • CentOS
    • 6 (Vagrant box: puppetlabs/centos-6.5-64-puppet)
    • 7 (Vagrant box: puppetlabs/centos-7.0-64-puppet)
  • Fedora
    • 20 (Vagrant box: chef/fedora-20)

If you use this module for Puppet 2.7 or Puppet 3.4 you will get the following error message:

Error: Report processor failed: undefined method `exist?'
for Puppet::FileSystem:Module

Regardless this, Puppet will be succesfully upgraded. This happens in ubuntu/precise32 and ubuntu/trusty32 Vagrant Boxes.

What if puppet is not installed at all?

The instructions to install puppet are available at https://docs.puppetlabs.com/pe/latest/install_agents.html

The commands to run on Ubuntu 12.04 (precise):

$ sudo wget https://apt.puppetlabs.com/puppetlabs-release-precise.deb
$ sudo dpkg -i puppetlabs-release-precise.deb
$ sudo apt-get update -y
$ sudo apt-get install puppet -y

The commands to run on Ubuntu 14.04 (trusty):

$ sudo wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb
$ sudo dpkg -i puppetlabs-release-trusty.deb
$ sudo apt-get update -y
$ sudo apt-get install puppet -y

The commands to run on Debian 7.4 (wheezy):

$ sudo wget https://apt.puppetlabs.com/puppetlabs-release-wheezy.deb
$ sudo dpkg -i puppetlabs-release-wheezy.deb
$ sudo apt-get update -y
$ sudo apt-get install puppet -y

The commands to run on Debian 6.0 (squeeze):

$ sudo wget https://apt.puppetlabs.com/puppetlabs-release-squeeze.deb
$ sudo dpkg -i puppetlabs-release-squeeze.deb
$ sudo apt-get update -y
$ sudo apt-get install puppet -y

The commands to run on CentOS 7.0:

$ sudo rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
$ sudo yum update -y
$ sudo yum install puppet -y

The commands to run on CentOS 6.5:

$ sudo rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
$ sudo yum update -y
$ sudo yum install puppet -y

The commands to run on Fedora 20:

$ sudo rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-fedora-20.noarch.rpm
$ sudo yum update -y
$ sudo yum install puppet -y

Development

For development instructions visit Puppet Modules Factory