solar/f2s/patches/hiera.patch
2015-11-30 14:03:12 +02:00

11 lines
551 B
Diff

--- /tmp/noop/.bundled_gems/gems/hiera-1.3.4/lib/hiera.rb 2015-11-09 19:55:29.127004136 +0000
+++ /tmp/noop/.bundled_gems/gems/hiera-1.3.4/lib/hiera.rb 2015-11-09 14:15:54.372852787 +0000
@@ -57,6 +57,7 @@
# The order-override will insert as first in the hierarchy a data source
# of your choice.
def lookup(key, default, scope, order_override=nil, resolution_type=:priority)
+ File.open("/tmp/fuel_specs/#{ENV['SPEC']}", 'a') { |f| f << "- #{key}\n" }
Backend.lookup(key, default, scope, order_override, resolution_type)
end
end