lib/r10k/deployment.rb in r10k-3.9.0 vs lib/r10k/deployment.rb in r10k-3.9.1
- old
+ new
@@ -116,10 +116,10 @@
sources = @config[:sources]
if sources.nil? || sources.empty?
raise R10K::Error, _("Unable to load sources; the supplied configuration does not define the 'sources' key")
end
@_sources = sources.map do |(name, hash)|
- R10K::Source.from_hash(name, hash)
+ R10K::Source.from_hash(name, hash.merge({overrides: @config[:overrides]}))
end
end
def load_environments
@_environments = []