Puppet Class: postgres_exporter::config

Defined in:
manifests/config.pp

Summary

This class handles the configuration file.

Overview

This class handles the configuration file.



8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/config.pp', line 8

class postgres_exporter::config {

  file {$::postgres_exporter::config_file:
    ensure  => file,
    owner   => 'root',
    group   => $::postgres_exporter::postgres_exporter_group,
    mode    => '0640',
    content => epp('postgres_exporter/postgres_exporter.configfile.epp', {
      flags => $::postgres_exporter::flags
    })
  }
}