From b98559c3bce0c495c42d89363126540711dbdb58 Mon Sep 17 00:00:00 2001 From: Petr Fortelny Date: Mon, 12 Dec 2016 13:15:43 -0500 Subject: [PATCH] Re-order logic in plugin.sh - Move collectd installation into install section Change-Id: I3613c6f167e47f70924c00252dcfdde71ed75eed Closes-Bug: #1623992 --- devstack/plugin.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index f023073..e328ca6 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -8,10 +8,12 @@ set -o xtrace "stack") case $2 in "pre-install") - # install system package - install_collectd + # no-op + : ;; "install") + # install system package + install_collectd # adapt collectd.conf adapt_collectd_conf ;;