Skip to content

Instantly share code, notes, and snippets.

@ianatha
Last active January 1, 2016 19:59
Show Gist options
  • Save ianatha/8193573 to your computer and use it in GitHub Desktop.
Save ianatha/8193573 to your computer and use it in GitHub Desktop.
puppet-init.sh
#!/bin/bash
source /etc/lsb-release
wget http://apt.puppetlabs.com/puppetlabs-release-${DISTRIB_CODENAME}.deb
dpkg -i puppetlabs-release-${DISTRIB_CODENAME}.deb
apt-get update
apt-get install puppet -y
echo -e "START=yes\nDAEMON_OPTS=\"\"" > /etc/default/puppet
service puppet start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment