puppet Puppet Module
This module updates Puppet.
The instruction comes from: https://docs.puppetlabs.com/guides/install_puppet/install_debian_ubuntu.html
To install the module run:
sudo puppet install module gajdaw-puppet
You can update Puppet running:
sudo puppet apply -e "include puppet"
You can also use the example:
sudo puppet apply example-01.pp
The module was tested on:
- 12.04 (precise) (Vagrant box: ubuntu/precise32)
- 14.04 (trusty) (Vagrant box: ubuntu/trusty32)
- 6.0 (squeeze) (Vagrant box: chef/debian-6.0.8)
- 7.4 (wheezy) (Vagrant box: chef/debian-7.4)
- 6 (Vagrant box: puppetlabs/centos-6.5-64-puppet)
- 7 (Vagrant box: puppetlabs/centos-7.0-64-puppet)
- 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/trusty32 Vagrant Boxes.
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
For development instructions visit Puppet Modules Factory
Copyright (c) 2015 Włodzimierz Gajda Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.