noha: Re-enable Horizon dashboard, fix CSS
[fuel.git] / mcp / patches / salt-formula-horizon / 0002-Align-packages-with-Stein-reqs.patch
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2019 Mirantis Inc., Enea AB and others.
3 :
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
10 Date: Mon, 30 Dec 2019 16:15:04 +0100
11 Subject: [PATCH] Align packages with Stein reqs
12
13 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
14 ---
15  horizon/map.jinja | 2 +-
16  1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/horizon/map.jinja b/horizon/map.jinja
19 index 3779d69..0cebe0c 100644
20 --- a/horizon/map.jinja
21 +++ b/horizon/map.jinja
22 @@ -6,7 +6,7 @@
23
24  {%- if not salt['pillar.get']('horizon:server:cache:backend') %}
25    {%- if salt['pillar.get']('horizon:server:version') not in ['mitaka','newton'] %}
26 -    {%- set cache_pkgs = ['python-pylibmc'] %}
27 +    {%- set cache_pkgs = ['python3-pylibmc'] %}
28      {%- set default_cache_backend = 'django.core.cache.backends.memcached.PyLibMCCache' %}
29    {%- else %}
30      {% if grains['os_family'] == 'RedHat' %}