Merge "Make fix redis service setup Debian only"
This commit is contained in:
commit
e9466b2a4e
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user