summaryrefslogtreecommitdiff
path: root/databases/puppetdb3/files/patch-ext__bin__puppetdb
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2016-06-09 11:06:28 +0000
committerRomain Tartière <romain@FreeBSD.org>2016-06-09 11:06:28 +0000
commitda15e01f3ae93898235291ac8a2fe0a41c73b4c5 (patch)
tree0462671dfb2ec2a2b836d7a51d88399b68f70d4a /databases/puppetdb3/files/patch-ext__bin__puppetdb
parent- Add patches missing in the previous commit (diff)
New ports for PuppetDB 3.x
- databases/puppetdb3 [1] - databases/puppetdb-terminus3 [2] Also add conflicts with the puppetdb 2.x and 4.x ports. PR: 204074 [1], 206594 [2] Submitted by: freebsd@zleslie.info [1, 2]
Notes
Notes: svn path=/head/; revision=416588
Diffstat (limited to 'databases/puppetdb3/files/patch-ext__bin__puppetdb')
-rw-r--r--databases/puppetdb3/files/patch-ext__bin__puppetdb21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/puppetdb3/files/patch-ext__bin__puppetdb b/databases/puppetdb3/files/patch-ext__bin__puppetdb
new file mode 100644
index 000000000000..3a813b34d8cd
--- /dev/null
+++ b/databases/puppetdb3/files/patch-ext__bin__puppetdb
@@ -0,0 +1,21 @@
+--- ext/bin/puppetdb.orig 2016-01-25 03:46:10.797703384 +0000
++++ ext/bin/puppetdb 2016-01-25 04:12:10.048976423 +0000
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!%%PREFIX%%/bin/bash
+
+ set -a
+ if [ -r "/etc/default/puppetdb" ] ; then
+@@ -11,6 +11,12 @@
+ USER="_puppetdb"
+ INSTALL_DIR="/opt/puppetlabs/server/apps/puppetdb"
+ CONFIG="/etc/puppetlabs/puppetdb/conf.d"
++elif [ `uname` == "FreeBSD" ] ; then
++ JAVA_BIN="%%JAVA%%"
++ JAVA_ARGS="-Xmx192m"
++ USER="puppetdb"
++ INSTALL_DIR="%%DATADIR%%"
++ CONFIG="%%PREFIX%%/%%ETCDIR%%/conf.d"
+ else
+ echo "You seem to be missing some important configuration files; could not find /etc/default/puppetdb or /etc/sysconfig/puppetdb" >&2
+ exit 1