lib/testlab/provisioners/bind.rb in testlab-1.2.3 vs lib/testlab/provisioners/bind.rb in testlab-1.3.0

- old
+ new

@@ -16,11 +16,10 @@ @config[:bind] ||= Hash.new @config[:bind][:domain] ||= "tld.invalid" @config[:bind][:forwarders] ||= %w(8.8.8.8 8.8.4.4) - @ui.logger.debug { "config(#{@config.inspect})" } end # Bind: Node Provision # @@ -28,21 +27,9 @@ # @return [Boolean] True if successful. def on_node_provision(node) @ui.logger.debug { "BIND Provisioner: Node #{node.id}" } bind_provision(node) - - true - end - - # Bind: Node Deprovision - # - # @param [TestLab::Node] node The node which we want to deprovision. - # @return [Boolean] True if successful. - def on_node_deprovision(node) - @ui.logger.debug { "BIND Deprovisioner: Node #{node.id}" } - - node.exec(%(sudo DEBIAN_FRONTEND="noninteractive" apt-get -y purge bind9)) true end # Bind: Container Up