Puppet Class: ganglia::monitor::mods

Defined in:
manifests/monitor/mods.pp

Overview

Class: ganglia::monitor::mods

Authors

  • Trevor Vaughan <tvaughan@onyxpoint.com>



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

class ganglia::monitor::mods {
  $fragdir = fragmentdir('gmond')
  concat_build { 'gmond_mods':
    order        => ['begin', '*.module', 'end'],
    target       => "$fragdir/modules.conf",
    parent_build => 'gmond'
  }
  concat_fragment { 'gmond_mods+begin':
    content => 'modules {
'
  }
  concat_fragment { 'gmond_mods+end':
    content => '}
'
  }
}