summaryrefslogtreecommitdiff
path: root/sysutils/puppetserver5/files/patch-ext__bin__puppetserver
diff options
context:
space:
mode:
authorZach Leslie <zleslie@FreeBSD.org>2017-10-03 23:37:18 +0000
committerZach Leslie <zleslie@FreeBSD.org>2017-10-03 23:37:18 +0000
commit572cb515fc94bdda93fa0178cccba299e7329964 (patch)
tree631ab9cc4ba43f38f2baa11a305f39ea63908425 /sysutils/puppetserver5/files/patch-ext__bin__puppetserver
parentFix configure with clang avoiding nested function (diff)
New port: sysutils/puppetserver5
This port is based on prior wor done in sysutils/puppetserver, and updated to leverage the CFACTER build of sysutils/facter. Approved by: swills(mentor) Differential Revision: D12513
Notes
Notes: svn path=/head/; revision=451175
Diffstat (limited to 'sysutils/puppetserver5/files/patch-ext__bin__puppetserver')
-rw-r--r--sysutils/puppetserver5/files/patch-ext__bin__puppetserver15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/puppetserver5/files/patch-ext__bin__puppetserver b/sysutils/puppetserver5/files/patch-ext__bin__puppetserver
new file mode 100644
index 000000000000..15b8c8adf156
--- /dev/null
+++ b/sysutils/puppetserver5/files/patch-ext__bin__puppetserver
@@ -0,0 +1,15 @@
+--- ext/bin/puppetserver.orig 2017-09-28 10:58:44.784311406 -0700
++++ ext/bin/puppetserver 2017-09-28 11:00:46.034742764 -0700
+@@ -14,6 +14,12 @@
+ 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 -XX:MaxPermSize=256m"
++ 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