ports/databases/puppetdb4/files/patch-ext_bin_puppetdb
Tom Judge e258ac0f1c New ports for PuppetDB 4.0
databases/puppetdb4
	databases/puppetdb-terminus4

WWW: https://forge.puppetlabs.com/puppetlabs/puppetdb

Also add conflicts with the puppetdb 2.x ports.
2016-03-26 18:06:28 +00:00

15 lines
538 B
Text

--- 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"