Puppet Class: stackdriver::plugin::postgres::config

Inherits:
stackdriver::plugin::postgres
Defined in:
manifests/plugin/postgres/config.pp

Overview

vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2 foldmethod=marker

Class: stackdriver::plugin::postgres::config

Configures Postgres Agent Plugin for Stackdriver Agent



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

class stackdriver::plugin::postgres::config(


) inherits stackdriver::plugin::postgres {

  file { $config:
    ensure  => file,
    content => template("stackdriver/${::kernel}/${config}.erb"),
    owner   => 'root',
    group   => 'root',
    mode    => '0440', # secure
    notify  => Service[$::stackdriver::svc],
  }

}