provisioners/puppet: mergeable config

This commit is contained in:
Mitchell Hashimoto 2014-02-03 22:27:23 +01:00
parent d864187b1a
commit 59d257f832
2 changed files with 12 additions and 0 deletions

View File

@ -42,6 +42,12 @@ module VagrantPlugins
end
end
def merge(other)
super.tap do |result|
result.facter = @facter.merge(other.facter)
end
end
def finalize!
super

View File

@ -20,6 +20,12 @@ module VagrantPlugins
@puppet_server = UNSET_VALUE
end
def merge(other)
super.tap do |result|
result.facter = @facter.merge(other.facter)
end
end
def finalize!
super