lib/testlab/provisioners/apt.rb in testlab-0.6.5 vs lib/testlab/provisioners/apt.rb in testlab-0.6.6
- old
+ new
@@ -24,10 +24,10 @@
# APT Provisioner Container Setup
#
# @param [TestLab::Container] container The container which we want to
# provision.
# @return [Boolean] True if successful.
- def setup(container)
+ def on_container_setup(container)
@ui.logger.debug { "APT Provisioner: Container #{container.id}" }
bootstrap_template = File.join(TestLab::Provisioner.template_dir, "apt", "bootstrap.erb")
container.ssh.bootstrap(ZTK::Template.render(bootstrap_template, @config))
end