mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
da15e01f3a
- 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]
22 lines
707 B
Plaintext
22 lines
707 B
Plaintext
--- 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
|