Puppet Class: stackdriver::plugin::mongo::config

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

Overview

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

Class: stackdriver::plugin::mongo::config

Configures Mongo Agent Plugin for Stackdriver Agent



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

class stackdriver::plugin::mongo::config(


) inherits stackdriver::plugin::mongo {

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

}