blob: 0c1e344cff0e2d865033c7fd25690c40cba7b793 (
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
|
class syslog-ng::vserver {
# syslog-ng class for vservers
# where is not possible to log kernel msgs
class { 'syslog-ng':
log_kernel_msgs => false,
}
# Manage this file due to
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625488
# TODO: restore the original file after the issue is solved.
file { "/etc/logrotate.d/syslog-ng":
owner => "root",
group => "root",
mode => 0644,
ensure => present,
source => "puppet:///modules/syslog-ng/logrotate",
}
# Manage this file due to
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625488
# TODO: restore the original file after the issue is solved.
file { "/etc/default/syslog-ng":
owner => "root",
group => "root",
mode => 0644,
ensure => present,
source => "puppet:///modules/syslog-ng/default",
notify => Service["syslog-ng"],
}
}
|