provisioners/puppet: mergeable config
This commit is contained in:
parent
d864187b1a
commit
59d257f832
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue