ports/sysutils/puppetserver8/files/patch-ext__bin__puppetserver
Romain Tartière e9c5ed3257
sysutils/puppetserver8: New port
Puppet master is a Ruby application that compiles configurations
for any number of Puppet agent nodes, using Puppet code and various
other data sources. (For more info, see Overview of Puppet's
Architecture.)

Puppet Server is an application that runs on the Java Virtual Machine
(JVM) and provides the same services as the classic Puppet master
application. It mostly does this by running the existing Puppet
master code in several JRuby interpreters, but it replaces some
parts of the classic application with new services written in
Clojure.
2023-04-28 15:36:10 -10:00

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