Adjusting cinder salt-formula for pike
The patch performs adjusting cinder salt-formula for pike installation.
Change-Id: I835352c8f82ebe1f85a3f755f530d6c488a35742
Related-PROD: PROD-15730
diff --git a/cinder/controller.sls b/cinder/controller.sls
index 9f9f088..bfb36b0 100644
--- a/cinder/controller.sls
+++ b/cinder/controller.sls
@@ -46,7 +46,7 @@
{%- endfor %}
-{%- if controller.version == 'ocata' %}
+{%- if controller.version in ('ocata','pike') %}
/etc/apache2/conf-available/cinder-wsgi.conf:
file.managed:
diff --git a/cinder/files/ocata/cinder-wsgi.conf b/cinder/files/ocata/cinder-wsgi.conf
index 153adde..b228a06 100644
--- a/cinder/files/ocata/cinder-wsgi.conf
+++ b/cinder/files/ocata/cinder-wsgi.conf
@@ -2,7 +2,7 @@
Listen {{ controller.osapi.host }}:8776
<VirtualHost {{ controller.osapi.host }}:8776>
- WSGIDaemonProcess cinder-wsgi processes=5 threads=1 user=cinder display-name=%{GROUP}
+ WSGIDaemonProcess cinder-wsgi processes=5 threads=1 user=cinder group=cinder display-name=%{GROUP}
WSGIProcessGroup cinder-wsgi
WSGIScriptAlias / /usr/bin/cinder-wsgi
WSGIApplicationGroup %{GLOBAL}
diff --git a/cinder/files/pike b/cinder/files/pike
new file mode 120000
index 0000000..d5e8ce2
--- /dev/null
+++ b/cinder/files/pike
@@ -0,0 +1 @@
+ocata
\ No newline at end of file