ports/sysutils/puppet37/files/patch-ext__rack__config.ru
Baptiste Daroussin 960ba21283 Add puppet37 to track the 3.7 branch puppet which is still supported
Simplify a bit the Makefile.
Remove patches related to unsupported the legacy package system
Unsilence install target
Merge do-install and post-install which has no reasons to be separated
Switch to full static plist
Keep the broken on ruby22 has I did not had a chance to test on ruby 2.2 yet

Sponsored by:	gandi.net
2015-06-22 09:45:28 +00:00

13 lines
636 B
Ruby

--- ./ext/rack/config.ru.orig 2013-12-20 16:47:22.876896492 +0000
+++ ./ext/rack/config.ru 2013-12-20 16:47:33.826895721 +0000
@@ -14,8 +14,8 @@
# Rack applications typically don't start as root. Set --confdir and --vardir
# to prevent reading configuration from ~puppet/.puppet/puppet.conf and writing
# to ~puppet/.puppet
-ARGV << "--confdir" << "/etc/puppet"
-ARGV << "--vardir" << "/var/lib/puppet"
+ARGV << "--confdir" << "%%PREFIX%%/etc/puppet"
+ARGV << "--vardir" << "/var/puppet"
# NOTE: it's unfortunate that we have to use the "CommandLine" class
# here to launch the app, but it contains some initialization logic