Forced all.log file creation in syslog::client. syslogd didn't create it automatically.
This commit is contained in:
parent
06f2527d92
commit
406f57a2d1
1 changed files with 8 additions and 0 deletions
|
@ -90,6 +90,14 @@ class syslog::client::syslogd {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file { "/var/log/all.log":
|
||||||
|
ensure => present,
|
||||||
|
mode => 0640,
|
||||||
|
owner => "root",
|
||||||
|
group => $group,
|
||||||
|
notify => Service["syslogd"],
|
||||||
|
}
|
||||||
|
|
||||||
file { "/etc/syslog.conf":
|
file { "/etc/syslog.conf":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
content => template("syslog/syslog.conf.$operatingsystem.erb",
|
content => template("syslog/syslog.conf.$operatingsystem.erb",
|
||||||
|
|
Loading…
Add table
Reference in a new issue