Merge "No syslog user in Debian"
This commit is contained in:
commit
ef21f159f2
@ -26,9 +26,16 @@ class openstack_integration::swift {
|
|||||||
|
|
||||||
# Ubuntu/Debian requires particular permissions for rsyslog to work
|
# Ubuntu/Debian requires particular permissions for rsyslog to work
|
||||||
if $::osfamily == 'Debian' {
|
if $::osfamily == 'Debian' {
|
||||||
File<| title == '/var/log/swift' |> {
|
if $::os_package_type == 'debian' {
|
||||||
owner => 'syslog',
|
File<| title == '/var/log/swift' |> {
|
||||||
group => 'adm'
|
owner => 'root',
|
||||||
|
group => 'adm'
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
File<| title == '/var/log/swift' |> {
|
||||||
|
owner => 'syslog',
|
||||||
|
group => 'adm'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user