Merge "No syslog user in Debian"

This commit is contained in:
Zuul 2018-05-04 23:26:41 +00:00 committed by Gerrit Code Review
commit ef21f159f2

View File

@ -26,9 +26,16 @@ class openstack_integration::swift {
# Ubuntu/Debian requires particular permissions for rsyslog to work
if $::osfamily == 'Debian' {
File<| title == '/var/log/swift' |> {
owner => 'syslog',
group => 'adm'
if $::os_package_type == 'debian' {
File<| title == '/var/log/swift' |> {
owner => 'root',
group => 'adm'
}
} else {
File<| title == '/var/log/swift' |> {
owner => 'syslog',
group => 'adm'
}
}
}