From b0edc485ea37cc601f2a6c3b8a7b6e93132577c7 Mon Sep 17 00:00:00 2001 From: Sumit Jamgade Date: Tue, 19 Dec 2017 11:05:42 +0100 Subject: devstack: redis on opensuse needs to have default config this patch adds a default config and uses template version of unit-file to restart redis Change-Id: I3c3498f408ac832c50d8f0e1834247492570fd4c --- devstack/plugin.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'devstack') diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 608ce2f3..7036addd 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -96,7 +96,14 @@ function _ceilometer_install_redis { else # This will fail (correctly) where a redis package is unavailable install_package redis - restart_service redis + if is_suse; then + # opensuse intsall multi-instance version of redis + # and admin is expected to install the required conf + cp /etc/redis/default.conf.example /etc/redis/default.conf + restart_service redis@default + else + restart_service redis + fi fi pip_install_gr redis -- cgit v1.2.1