mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
The pre-commit hook does not allow me to copy and update the port at the same time. With hat: puppet
15 lines
606 B
Text
15 lines
606 B
Text
--- ext/bin/puppetserver.orig 2018-10-03 16:18:58 UTC
|
|
+++ ext/bin/puppetserver
|
|
@@ -15,6 +15,12 @@ elif [ `uname` == "OpenBSD" ] ; then
|
|
USER="_puppet"
|
|
INSTALL_DIR="/opt/puppetlabs/server/apps/puppetserver"
|
|
CONFIG="/etc/puppetlabs/puppetserver/conf.d"
|
|
+elif [ `uname` == "FreeBSD" ] ; then
|
|
+ JAVA_BIN="%%JAVA%%"
|
|
+ JAVA_ARGS="-Xms2g -Xmx2g"
|
|
+ USER="puppet"
|
|
+ INSTALL_DIR="%%DATADIR%%"
|
|
+ CONFIG="%%ETCDIR%%/conf.d"
|
|
else
|
|
echo "You seem to be missing some important configuration files; could not find /etc/default/puppetserver or /etc/sysconfig/puppetserver" >&2
|
|
exit 1
|