Add salt module dependencies into meta/salt.yml
Related-Prod: PROD-16970
Change-Id: I23cb3119d3fd23354a33e0a7088a30f5970e64fb
diff --git a/cinder/meta/salt.yml b/cinder/meta/salt.yml
index b10f98d..1966a1c 100644
--- a/cinder/meta/salt.yml
+++ b/cinder/meta/salt.yml
@@ -8,4 +8,9 @@
priority: 550
require:
- salt: cinder.controller
-
+dependency:
+ {% from "cinder/map.jinja" import client with context %}
+ {%- if client.get('enabled', False) %}
+ engine: pkg
+ pkgs: {{ client.pkgs }}
+ {%- endif %}