Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

This is a work in progress...

...

Creating a Puppet Master

...

...

sudo apt-get install puppetmaster

Server

Code Block
languagebash
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
languagebash
sudo vi /etc/default/puppetserver

Adjust the line

Code Block
languagebash
# Modify this if you'd like to change the memory allocation, enable JMX, etc
JAVA_ARGS="-Xms2g -Xmx2g -XX:MaxPermSize=256m"

to

Code Block
languagebash
# 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

...