redis-openshift-example
redis-openshift-example copied to clipboard
Build script needs update due to change in openshift environment variables
Openshift have deleted the trailing / off all of their enviroment variables.
Hence lines in .openshift/action_hooks/build like ${OPENSHIFT_RUN_DIR}redis.pid need to change to ${OPENSHIFT_RUN_DIR}/redis.pid
It would be nice to bump redis version to latest also..
Openshift team changed back these environments. echo ${OPENSHIFT_RUN_DIR}/redis.pid /var/lib/openshift/......./ruby-1.9/run//redis.pid
echo ${OPENSHIFT_RUN_DIR}redis.pid /var/lib/openshift/......./ruby-1.9/run/redis.pid
You're absolutely right! Doh!
Wish they would make up their mind...
Fortunately most scripts seem to tolerate the '//'
@rw950431 thanks for your feedback :+1: I hence left a bit the development of this because the openshift guys took it in their account, but absolutely i'm gonna update the new version.
And yeah the consequent // is the same as / in shell scripting :)