freebsd-ports/sysutils/rubygem-smart_proxy_salt/files/patch-bin-foreman-node
Steve Wills 2bdfe66b98 sysutils/rubygem-smart_proxy_salt: fix various bugs to make port functional
PR:		194014
Submitted by:	Michael Moll <kvedulv@kvedulv.de>
2014-09-29 21:12:11 +00:00

11 lines
319 B
Text

--- bin/foreman-node.orig 2014-09-27 23:35:54.000000000 +0200
+++ bin/foreman-node 2014-09-27 23:39:19.000000000 +0200
@@ -5,7 +5,7 @@
require 'yaml'
-$settings_file = "/etc/salt/foreman.yaml"
+$settings_file = "%%LOCALBASE%%/etc/salt/foreman.yaml"
SETTINGS = YAML.load_file($settings_file)
require 'net/http'