Sha256: d54efbcc4dac094023cb647fde9fa475a9affc6fc419549b088c1787b8f4f851

Contents?: true

Size: 615 Bytes

Versions: 6

Compression:

Stored size: 615 Bytes

Contents

#!/bin/bash

apt-get install --yes lsb-release
DISTRIB_CODENAME=$(lsb_release --codename --short)
DEB="puppetlabs-release-${DISTRIB_CODENAME}.deb"
DEB_PROVIDES="/etc/apt/sources.list.d/puppetlabs.list" # Assume that this file's existence means we have the Puppet Labs repo added

if [ ! -e $DEB_PROVIDES ]
then
    # Print statement useful for debugging, but automated runs of this will interpret any output as an error
    # print "Could not find $DEB_PROVIDES - fetching and installing $DEB"
    wget -q http://apt.puppetlabs.com/$DEB
    sudo dpkg -i $DEB
fi
sudo apt-get update
sudo apt-get install --yes puppet

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
safeguard-devise-0.0.7 puppet/upgrade-puppet.sh
safeguard-devise-0.0.6 puppet/upgrade-puppet.sh
safeguard-devise-0.0.5 puppet/upgrade-puppet.sh
safeguard-devise-0.0.4 puppet/upgrade-puppet.sh
safeguard-devise-0.0.3 puppet/upgrade-puppet.sh
safeguard-devise-0.0.2 puppet/upgrade-puppet.sh