From 40f907255380dbfc4d808d9f3c768db80c4c8158 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sun, 12 Nov 2017 06:45:50 +0100 Subject: [baremetal] prx: Fix empty Apache module list On low state expansion, apache.server.modules is iterated, and since reclass transforms '~' into 'null', an exception is thrown. Use an empty string instead (different type will still ensure reclass overrides variables from apache service instead of merging the lists). While at it, add missing version 'latest' for mod-wsgi pkg. Change-Id: I7913483b6a1be545b96de2958c39840940d9c557 Signed-off-by: Alexandru Avadanii --- .../classes/cluster/baremetal-mcp-ocata-common/openstack_proxy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mcp/reclass/classes') diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/openstack_proxy.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/openstack_proxy.yml index d93d9ee5b..a2d39854e 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/openstack_proxy.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/openstack_proxy.yml @@ -41,6 +41,7 @@ parameters: system: package: libapache2-mod-wsgi: + version: latest salt: minion: cert: @@ -49,7 +50,7 @@ parameters: key_usage: 'digitalSignature, keyEncipherment' apache: server: - modules: ~ + modules: '' horizon: server: bind: -- cgit 1.2.3-korg