Fix nova user dependencies
This patch has a goal to ensure that nova user will be managed
by salt-formula before nova user will be created by any nova package.
This allows to avoid errors when salt-formula tries to change uid for
user, which is already used to launch processes (e.g. nova placemnet api)
Change-Id: Ieb76ff254a3e50de339efb24dd14db9ab64deb0c
Related-Prod: https://mirantis.jira.com/browse/PROD-19072
diff --git a/nova/controller.sls b/nova/controller.sls
index 49851bf..d8ea1b9 100644
--- a/nova/controller.sls
+++ b/nova/controller.sls
@@ -50,6 +50,9 @@
- system: True
- require_in:
- pkg: nova_controller_packages
+{%- if controller.version not in ["juno", "kilo", "liberty", "mitaka", "newton"] %}
+ - pkg: nova_placement_package
+{%- endif %}
group_nova:
group.present: