Install cinderclient on controllers
cinder.conroller uses cinderng state which requires cinderclient.
This patch makes sure cinderclient is installed when running salt.minion
state and salt-minion is restarted afterwards.
Change-Id: Ie639be634970f51a9e4d008dcbee80b880c8b8ba
Related-Prod: PROD-16970
diff --git a/cinder/meta/salt.yml b/cinder/meta/salt.yml
index 1966a1c..7df3cf9 100644
--- a/cinder/meta/salt.yml
+++ b/cinder/meta/salt.yml
@@ -9,8 +9,8 @@
require:
- salt: cinder.controller
dependency:
- {% from "cinder/map.jinja" import client with context %}
- {%- if client.get('enabled', False) %}
+ {% from "cinder/map.jinja" import controller, client with context %}
+ {%- if client.get('enabled', False) or controller.get('enabled', False) %}
engine: pkg
pkgs: {{ client.pkgs }}
{%- endif %}