From 74022b48ddb6312bcc3b82a92b9bc45fdcbf04f1 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Thu, 31 May 2018 21:24:10 +0200 Subject: [PATCH] Debian: fix redis service setup The redis-server appears as "masked" in the OpenStack CI, even though it did not in my test VM. As a consequence, "systemctl enable redis-server" fails, and consequently, the puppet run fails in OpenStack CI. The thing is, there's no need to enable this service, as in all distros, it's already enabled by default. Even in the OpenStack CI, the service appears as enabled, but masked (which by the way, should never happen, as this isn't a working systemd state). This patch simply removes the enabling of the systemd service, so that it also works in Debian in the CI. Change-Id: I1b37524ff1071d87e8a7df2fa3bca66aed162d1b --- manifests/redis.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/redis.pp b/manifests/redis.pp index e9508e79b..fe731534a 100644 --- a/manifests/redis.pp +++ b/manifests/redis.pp @@ -2,6 +2,7 @@ class openstack_integration::redis { include ::openstack_integration::config class { '::redis': - bind => $::openstack_integration::config::host + bind => $::openstack_integration::config::host, + service_enable => false } }