lib/testlab/provisioners/bind.rb in testlab-1.6.4 vs lib/testlab/provisioners/bind.rb in testlab-1.6.5
- old
+ new
@@ -39,10 +39,12 @@
# @param [TestLab::Container] container The container which just came online.
# @return [Boolean] True if successful.
def on_container_provision(container)
@ui.logger.debug { "BIND Provisioner: Container #{container.id}" }
- bind_reload(container.node)
+ # ensure we override the config hash with the nodes configuration
+ @config = container.node.config
+ bind_provision(container.node)
true
end
alias :on_container_up :on_container_provision