Defined Type: puppetdb::config

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

Overview

Define puppetmaster::puppetdb::config

Defines one ini file and its contents.

Parameters:

  • settings (Any)


4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'modules/puppetdb/manifests/config.pp', line 4

define puppetdb::config($settings) {
    $ini = {"${title}" => $settings}
    $config_dir = '/etc/puppetdb/conf.d'

    file { "/etc/puppetdb/conf.d/${title}.ini":
        content => ini($ini),
        owner   => 'puppetdb',
        group   => 'root',
        mode    => '0640',
        before  => Service['puppetdb'],
    }

}