Skip to content

Instantly share code, notes, and snippets.

@syss
syss / puppet-copypasta-debian
Last active August 29, 2015 14:05
Copy-paste script for puppet on Debian/Ubuntu
# Stefan Süss
# www.sysstem.at
#you only need to edit these 2 lines
SERVER_IP=10.0.0.100
SERVER_DNS=puppet.sysstem.at
DEBIAN_RLS=$(cat /etc/os-release | grep VERSION= | awk -F '(' '{print $2}' | awk -F ')' '{print $1}')
PUPPET_DEB=puppetlabs-release-$DEBIAN_RLS.deb
PUPPET_CONF=/etc/puppet/puppet.conf