ports/sysutils/puppetserver5/files/patch-ext__cli_defaults__cli-defaults.sh
Zach Leslie 572cb515fc New port: sysutils/puppetserver5
This port is based on prior wor done in sysutils/puppetserver, and updated to
leverage the CFACTER build of sysutils/facter.

Approved by:	swills(mentor)
Differential Revision:	D12513
2017-10-03 23:37:18 +00:00

11 lines
461 B
Bash

--- ext/cli_defaults/cli-defaults.sh.orig 2017-08-06 01:24:37.981353156 -0700
+++ ext/cli_defaults/cli-defaults.sh 2017-08-06 01:39:53.280636611 -0700
@@ -1,6 +1,6 @@
-INSTALL_DIR="/opt/puppetlabs/server/apps/puppetserver"
+INSTALL_DIR="%%DATADIR%%"
-JRUBY_JAR="${JRUBY_JAR:-${INSTALL_DIR}/jruby-1_7.jar}"
+JRUBY_JAR="${JRUBY_JAR:-${INSTALL_DIR}/jruby-9k.jar}"
if [ ! -e "$JRUBY_JAR" ]; then
echo "Unable to find specified JRUBY_JAR: ${JRUBY_JAR}" 1>&2