Skip to content

Instantly share code, notes, and snippets.

@mscottford
Last active December 20, 2015 00:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mscottford/6041023 to your computer and use it in GitHub Desktop.
Save mscottford/6041023 to your computer and use it in GitHub Desktop.
puppet standalone setup commands for fresh ubuntu 12.04 LTS box
sudo apt-get update
sudo apt-get install puppet-common
sudo useradd -d /home/deploy -m deploy
sudo passwd deploy
sudo chsh -s /bin/bash deploy
sudo visudo # append `deploy ALL=(ALL) NOPASSWD:ALL`
# copy up rsa.pub
sudo mv id_rsa.pub /home/deploy/.ssh/authorized_keys
sudo chmod 600 /home/deploy/.ssh/authorized_keys
sudo chown deploy /home/deploy/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment