Last active
December 20, 2015 00:19
-
-
Save mscottford/6041023 to your computer and use it in GitHub Desktop.
puppet standalone setup commands for fresh ubuntu 12.04 LTS box
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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