Open source implementation

In open source, we need to manage our settings with our own module. Luckily, camptocamp/puppetserver provides exactly what we need! We can use this module to create a profile that applies to our Puppetservers:

class profile::puppetserver {  class { 'puppetserver':
    config => {
      'java_args'     => {
        'xms'         => '4g',
        'xmx'         => '6g',
        'maxpermsize' => '512m',
      },    }  }}
In an open source installation, the ulimits required for each component in larger installations may not be present. You can follow the instructions at https://puppet.com/docs/pe/latest/config_ulimit.html if your master is serving an immense number of nodes and is unable to open more files on the Linux operating system.

Get Mastering Puppet 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.