Sha256: 31f0d67a37caf2010ded87ba1776d3cd153d51e8cc4c7082b4d963e223b70ce2
Contents?: true
Size: 626 Bytes
Versions: 1
Compression:
Stored size: 626 Bytes
Contents
#!/usr/bin/env bash set -e echo "THIS IS RUNNING ON YOUR MACHINE!" REPO_URL="http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm" if [ "$EUID" -ne "0" ]; then echo "This script must be run as root." >&2 exit 1 fi if which puppet > /dev/null 2>&1; then echo "Puppet is already installed." exit 0 fi # Install puppet labs repo echo "Configuring PuppetLabs repo..." repo_path=$(mktemp) wget --output-document="${repo_path}" "${REPO_URL}" 2>/dev/null rpm -i "${repo_path}" >/dev/null # Install Puppet... echo "Installing puppet" yum install -y puppet > /dev/null echo "Puppet installed!"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-puppet-install-2.5.0 | test/support/puppet_install_script/centos_6_x.sh |