Merge "Make fix redis service setup Debian only"

This commit is contained in:
Zuul 2018-06-02 01:05:49 +00:00 committed by Gerrit Code Review
commit e9466b2a4e

View File

@ -1,8 +1,17 @@
class openstack_integration::redis {
include ::openstack_integration::config
# due to issues in OpenStack CI with the redis package, we need to disable
# the service enable flag. The service still starts but the management of
# the service with systemd errors.
if ($::os_package_type == 'debian') {
$service_enable = false
} else {
$service_enable = true
}
class { '::redis':
bind => $::openstack_integration::config::host,
service_enable => false
service_enable => $service_enable
}
}