Puppet Class: puppet::master

Defined in:
manifests/master.pp

Overview

Parameters:

  • autosign (Any) (defaults to: false)
  • reports (Any) (defaults to: 'store')
  • storeconfigs (Any) (defaults to: false)


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/master.pp', line 3

class puppet::master ($autosign = false, $reports = 'store',
  $storeconfigs = false) {
  include puppet::common

  service { $puppet::params::master_service:
    ensure    => running,
    enable    => true,
    require   => [Package['puppet_package']],
    subscribe => [File[$puppet::params::conf_path]],
  }

  concat::fragment { 'puppet_config_master':
    target  => $puppet::params::conf_path,
    content => template('puppet/puppet.conf.master.erb'),
    order   => '200',
  }
}