Puppet Class: awesant::config

Defined in:
manifests/config.pp

Overview

Class: awesant::config



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'manifests/config.pp', line 3

class awesant::config {

  $awesant_config  = $awesant::awesant_config
  $awesant_logfile = $awesant::awesant_logfile
  $log_level       = $awesant::log_level
  $input_include   = $awesant::input_include
  $output_include  = $awesant::output_include

  file { $awesant_config:
    ensure  => present,
    owner   => 'root',
    group   => 'root',
    mode    => '0755',
    content => template('awesant/agent.conf.erb'),
    require => Class['awesant::package'],
    notify  => Class['awesant::service'],
  }

  file { '/etc/awesant/input.d':
    ensure  => directory,
    owner   => 'root',
    group   => 'root',
    mode    => '0755',
    purge   => true,
    force   => true,
    recurse => true,
    require => Class['awesant::package'],
    notify  => Class['awesant::service'],
  }

  file { '/etc/awesant/output.d':
    ensure  => directory,
    owner   => 'root',
    group   => 'root',
    mode    => '0755',
    purge   => true,
    force   => true,
    recurse => true,
    require => Class['awesant::package'],
    notify  => Class['awesant::service'],
  }



}