Warning |
---|
This is a work in progress... |
...
Creating a Puppet Master
...
...
sudo apt-get install puppetmaster
Server
Code Block | ||
---|---|---|
| ||
wget https://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb
sudo dpkg -i puppetlabs-release-pc1-xenial.deb
sudo apt-get update
sudo apt-get install puppetserver |
Puppet default memory use is 2GB edit the puppetserver file to change it to 512mb.
Code Block | ||
---|---|---|
| ||
sudo vi /etc/default/puppetserver |
Adjust the line
Code Block | ||
---|---|---|
| ||
# Modify this if you'd like to change the memory allocation, enable JMX, etc
JAVA_ARGS="-Xms2g -Xmx2g -XX:MaxPermSize=256m" |
to
Code Block | ||
---|---|---|
| ||
# Modify this if you'd like to change the memory allocation, enable JMX, etc
JAVA_ARGS="-Xms512m -Xmx512m -XX:MaxPermSize=256m" |
How to Execute Puppet Scripts
...