lib/testlab/provisioners/bind.rb in testlab-1.1.0 vs lib/testlab/provisioners/bind.rb in testlab-1.2.0
- old
+ new
@@ -46,11 +46,11 @@
true
end
# Bind: Container Up
#
- # @param [TestLab::Node] node The container which just came online.
+ # @param [TestLab::Container] container The container which just came online.
# @return [Boolean] True if successful.
def on_container_up(container)
@ui.logger.debug { "BIND Provisioner: Container #{container.id}" }
bind_reload(container.node)
@@ -67,10 +67,9 @@
bind_reload(network.node)
true
end
- alias :on_network_create :on_network_up
# Builds the main bind configuration sections
def build_bind_main_partial(file)
bind_conf_template = File.join(TestLab::Provisioner.template_dir, "bind", "bind.erb")