syslog: Fixed installation for CentOS 7.
This commit is contained in:
parent
0e52e6aa54
commit
f2aabbfe6c
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ class syslog::common {
|
||||||
case $::operatingsystem {
|
case $::operatingsystem {
|
||||||
"centos","redhat": {
|
"centos","redhat": {
|
||||||
$syslog_type = $::operatingsystemrelease ? {
|
$syslog_type = $::operatingsystemrelease ? {
|
||||||
/^6/ => "rsyslog",
|
/^[1-5]/ => "syslogd",
|
||||||
default => "syslogd",
|
default => "rsyslog",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
"debian": { $syslog_type = "rsyslog" }
|
"debian": { $syslog_type = "rsyslog" }
|
||||||
|
|
Loading…
Add table
Reference in a new issue