Do not install nova-cert for older releases than Mitaka
Nova cert is needed only for EC2 api, which was removed from
Nova in Mitaka. This patch makes sure we do not install
nova-cert by default for newer openstack versions than Mitaka.
Change-Id: I1da48224d427917dfd2f2afe94d1e547c681f825
Related-Prod: PROD-19158
diff --git a/nova/map.jinja b/nova/map.jinja
index ee4b679..96f25f5 100644
--- a/nova/map.jinja
+++ b/nova/map.jinja
@@ -15,7 +15,7 @@
{%- if grains.os_family == "Debian" %}
{%- set pkgs_list = [ 'nova-common', 'nova-consoleproxy', 'novnc', 'nova-api', 'nova-conductor', 'nova-consoleauth', 'nova-doc', 'nova-scheduler', 'python-novaclient', 'python-memcache', 'gettext-base', 'python-pycadf'] %}
{%- set services_list = ['nova-api', 'nova-consoleauth', 'nova-scheduler', 'nova-conductor', 'nova-novncproxy'] %}
-{%- if pillar.nova.controller is defined and pillar.nova.controller.get('version',{}) in ["juno", "kilo", "liberty", "mitaka", "newton", "ocata"] %}
+{%- if pillar.nova.controller is defined and pillar.nova.controller.get('version',{}) in ["juno", "kilo", "liberty", "mitaka"] %}
{%- do pkgs_list.append('nova-cert') %}
{%- do services_list.append('nova-cert') %}
{%- endif %}