You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/09 19:10:47 UTC

[GitHub] dgrove-oss commented on a change in pull request #46: Deploy CouchDB manually

dgrove-oss commented on a change in pull request #46:  Deploy CouchDB manually
URL: https://github.com/apache/incubator-openwhisk-deploy-kube/pull/46#discussion_r132278776
 
 

 ##########
 File path: kubernetes/couchdb/docker/init.sh
 ##########
 @@ -0,0 +1,93 @@
+#!/bin/bash
+set -ex
+
+# Always clone the latest version of OpenWhisk
+git clone https://github.com/apache/incubator-openwhisk /openwhisk
+
+pushd /openwhisk
+  # Install ansible requirements
+  ./tools/ubuntu-setup/pip.sh
+
+  # upgrade cffi for ansible error on Debian Jesse
+  pip install --upgrade cffi
+  sudo pip install markupsafe
+  sudo pip install ansible==2.3.0.0
+
+
+  # if auth guest overwrite file
+  if [ -n "$AUTH_GUEST" ]; then
+    echo "$AUTH_GUEST" > /openwhisk/ansible/files/auth.guest
+  fi
+
+  # if auth whisk system overwrite file
+  if [ -n "$AUTH_WHISK_SYSTEM" ]; then
+    echo "$AUTH_WHISK_SYSTEM" > /openwhisk/ansible/files/auth.guest
 
 Review comment:
   This should be: 
   
   echo "$AUTH_WHISK_SYSTEM" > /openwhisk/ansible/files/auth.whisk.system
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services