Created
May 14, 2020 21:54
-
-
Save PascalKu/72dd3231e93142490b47ca2062d00284 to your computer and use it in GitHub Desktop.
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 install -y puppet-agent | |
echo "[main] | |
#certname = puppetagent | |
server = puppet-master | |
environment = production | |
runinterval = 1m" >> /etc/puppetlabs/puppet/puppet.conf | |
sudo /opt/puppetlabs/bin/puppet resource service puppet ensure=running enable=true |
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
echo "94.130.150.125 puppet puppet-master" >> /etc/hosts | |
wget https://apt.puppetlabs.com/puppet6-release-bionic.deb | |
sudo dpkg -i puppet6-release-bionic.deb | |
sudo apt update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment