diff options
author | Romain Tartière <romain@FreeBSD.org> | 2023-04-28 11:02:35 -1000 |
---|---|---|
committer | Romain Tartière <romain@FreeBSD.org> | 2023-04-28 15:36:13 -1000 |
commit | e500139794ef0e5d4c888457877799b23bf65104 (patch) | |
tree | e1065bdfe1baf01c9110087931ac4e7059b02a59 /databases/puppetdb8/files/patch-ext_bin_puppetdb | |
parent | sysutils/puppetserver8: New port (diff) |
databases/puppetdb8: New port
The PuppetDB storeconfigs backend
Diffstat (limited to 'databases/puppetdb8/files/patch-ext_bin_puppetdb')
-rw-r--r-- | databases/puppetdb8/files/patch-ext_bin_puppetdb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/puppetdb8/files/patch-ext_bin_puppetdb b/databases/puppetdb8/files/patch-ext_bin_puppetdb new file mode 100644 index 000000000000..0a139b110d2e --- /dev/null +++ b/databases/puppetdb8/files/patch-ext_bin_puppetdb @@ -0,0 +1,15 @@ +--- ext/bin/puppetdb.orig 2016-03-17 04:17:10 UTC ++++ ext/bin/puppetdb +@@ -5,6 +5,12 @@ if [ -r "/etc/default/puppetdb" ] ; then + . /etc/default/puppetdb + elif [ -r "/etc/sysconfig/puppetdb" ] ; then + . /etc/sysconfig/puppetdb ++elif [ `uname` == "FreeBSD" ] ; then ++ CONFIG="%%PREFIX%%/etc/puppetdb/conf.d" ++ INSTALL_DIR="%%DATADIR%%" ++ JAVA_BIN="%%PREFIX%%/bin/java" ++ JAVA_ARGS="-Xmx192m" ++ USER="puppet" + elif [ `uname` == "OpenBSD" ] ; then + JAVA_BIN=$(javaPathHelper -c puppetdb) + JAVA_ARGS="-Xmx192m" |