Merge "cinder: Enable service user for swift backup driver"

This commit is contained in:
Zuul 2024-05-31 15:46:57 +00:00 committed by Gerrit Code Review
commit fa47f09654

View File

@ -172,7 +172,17 @@ class openstack_integration::cinder (
case $cinder_backup {
'swift': {
class { 'cinder::backup::swift': }
# TODO(tkajinam): Enable service auth in Ubuntu/Debian once
# https://review.opendev.org/c/openstack/cinder/+/915979 (or its
# backport) is available
$backup_swift_service_auth = $facts['os']['family'] ? {
'RedHat' => true,
default => false
}
class { 'cinder::backup::swift':
backup_swift_service_auth => $backup_swift_service_auth,
}
}
'ceph': {
class { 'cinder::backup::ceph':