freebsd-ports/databases/puppetdb6/files/patch-ext_bin_puppetdb
2018-09-27 08:06:17 +00:00

16 lines
538 B
Plaintext

--- ext/bin/puppetdb.orig 2016-03-17 04:17:10 UTC
+++ ext/bin/puppetdb
@@ -5,6 +5,12 @@ if [ -r "/etc/default/puppetdb" ] ; then
. /etc/default/puppetdb
elif [ -r "/etc/sysconfig/puppetdb" ] ; then
. /etc/sysconfig/puppetdb
+elif [ `uname` == "FreeBSD" ] ; then
+ CONFIG="%%PREFIX%%/etc/puppetdb/conf.d"
+ INSTALL_DIR="%%DATADIR%%"
+ JAVA_BIN="%%PREFIX%%/bin/java"
+ JAVA_ARGS="-Xmx192m"
+ USER="puppet"
elif [ `uname` == "OpenBSD" ] ; then
JAVA_BIN=$(javaPathHelper -c puppetdb)
JAVA_ARGS="-Xmx192m"