Make fix redis service setup Debian only

This is an improvemen tonI1b37524ff1071d87e8a7df2fa3bca66aed162d1b
so that it only disables the service management when debian is used.
Change-Id: Ib69317e48f4c8b9e2eb69bcb31c8245db7b286ed
This commit is contained in:
Alex Schultz
2018年06月01日 08:08:30 -06:00
parent 74022b48dd
commit 46b503f7b0

View File

@@ -1,8 +1,17 @@
classopenstack_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
}
}
Reference in New Issue
openstack/puppet-openstack-integration
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.