summaryrefslogtreecommitdiff
path: root/manifests/config.pp
blob: 829cc7e9b86236ef0e5ed18802558c4f3a9ac730 (plain)
1
2
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
class logcheck::config ($reportlevel) {
  file {
#    '/etc/logcheck/logcheck.conf':
#      ensure            => present,
#      content           => template("logcheck/etc/logcheck/logcheck.conf.${::fqdn}"),
#    ;

    '/etc/logcheck/ignore.d.server/':
      ensure            => directory,
      source		=> 'puppet:///modules/logcheck/etc/logcheck/ignore.d.server/',
      recurse		=> remote,
      replace		=> true,
#      group             => 'logcheck',
#      mode              => '2750',
    ;

    '/etc/logcheck/ignore.d.workstation/':
      ensure            => directory,
      source		=> 'puppet:///modules/logcheck/etc/logcheck/ignore.d.workstation/',
      recurse		=> remote,
      replace		=> true,
#      group             => 'logcheck',
#      mode              => '2750',
    ;

#    '/etc/logcheck/ignore.d.workstation/local-wpasupplicant':
#      ensure            => present,
#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.workstation/local-wpasupplicant',
#      group             => 'logcheck',
#    ;
#
#    '/etc/logcheck/ignore.d.workstation/local-dbus':
#      ensure            => present,
#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.workstation/local-dbus',
#      group             => 'logcheck',
#    ;
#
#    '/etc/logcheck/ignore.d.workstation/local-kde':
#      ensure            => present,
#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.workstation/local-kde',
#      group             => 'logcheck',
#    ;
#
#    '/etc/logcheck/ignore.d.workstation/local-networkmanager':
#      ensure            => present,
#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.workstation/local-networkmanager',
#      group             => 'logcheck',
#    ;
#    '/etc/logcheck/ignore.d.workstation/local-dhcpcd':
#      ensure            => absent,
#    ;
#    '/etc/logcheck/ignore.d.server/local-sympa':
#      ensure            => present,
#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.server/local-sympa',
#      group             => 'logcheck',
#    ;
#    '/etc/logcheck/ignore.d.server/local-dhcpcd':
#      ensure            => present,
#      source            => 'puppet:///modules/logcheck/etc/logcheck/ignore.d.server/local-dhcpcd',
#      group             => 'logcheck',
#    ;
  }
}