Created
March 31, 2018 04:52
-
-
Save murarisumit/cc18a82a39e7989e1101095e84702840 to your computer and use it in GitHub Desktop.
Install puppt master for 16.04
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
wget https://apt.puppetlabs.com/puppet5-release-xenial.deb | |
sudo dpkg -i puppet5-release-xenial.deb | |
sudo apt update | |
apt-get install puppetserver -y | |
# for puppet agent: | |
sudo apt-get install puppet-agent -7 | |
sudo apt install ruby # Need to install this for isntall r10k gem | |
sudo gem install r10k --verbose | |
mkdir /etc/puppetlabs/r10k/ | |
touch /etc/puppetlabs/r10k/r10k.yaml | |
# dump the content, git directory and basedir | |
cd /etc/puppetlabs/ ; sudo r10k deploy environment -p # root user should have ssh keys | |
git clone [email protected]:h-murarisumit/puppet-repo.git | |
cd /etc/puppetlabs/environments/production | |
journalctl -fu puppetserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment