Puppet Class: puppetmaster::config

Defined in:
modules/puppetmaster/manifests/config.pp

Overview

Class: puppetmaster::config

This class handles the master part of /etc/puppet.conf. Do not include directly.

Parameters:

  • config (Any)
  • server_type (Any)


5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'modules/puppetmaster/manifests/config.pp', line 5

class puppetmaster::config(
    $config,
    $server_type,
) {

    base::puppet::config { 'master':
        prio    => 20,
        content => template('puppetmaster/master.conf.erb'),
    }

    # See https://tickets.puppetlabs.com/browse/PUP-1237
    #
    # As we already have the ACLs defined in apache (see passenger.pp), and masters do not work
    # with the standalone/webrick install, we can safely move ACLs away from here
    file { '/etc/puppet/fileserver.conf':
        owner   => 'root',
        group   => 'root',
        mode    => '0444',
        content => template('puppetmaster/fileserver.conf.erb'),
    }
}