Sha256: b65d31c06806b68bd49902d0b9d05aeb6d650090a764a52657bdf5c4b278cecc

Contents?: true

Size: 674 Bytes

Versions: 54

Compression:

Stored size: 674 Bytes

Contents

class TestLab
  class Node

    module Provision

      # Provision the node.
      def provision
        @ui.logger.debug { "Node Provision: #{self.id} " }

        please_wait(:ui => @ui, :message => format_object_action(self, 'Provision', :green)) do
          do_provisioner_callbacks(self, :provision, @ui)
        end

        true
      end

      # Deprovision the node.
      def deprovision
        @ui.logger.debug { "Node Deprovision: #{self.id} " }

        please_wait(:ui => @ui, :message => format_object_action(self, 'Deprovision', :red)) do
          do_provisioner_callbacks(self, :deprovision, @ui)
        end

        true
      end

    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
testlab-1.15.1 lib/testlab/node/provision.rb
testlab-1.15.0 lib/testlab/node/provision.rb
testlab-1.14.0 lib/testlab/node/provision.rb
testlab-1.13.0 lib/testlab/node/provision.rb
testlab-1.12.0 lib/testlab/node/provision.rb
testlab-1.11.7 lib/testlab/node/provision.rb
testlab-1.11.6 lib/testlab/node/provision.rb
testlab-1.11.5 lib/testlab/node/provision.rb
testlab-1.11.4 lib/testlab/node/provision.rb
testlab-1.11.3 lib/testlab/node/provision.rb
testlab-1.11.2 lib/testlab/node/provision.rb
testlab-1.11.1 lib/testlab/node/provision.rb
testlab-1.11.0 lib/testlab/node/provision.rb
testlab-1.10.0 lib/testlab/node/provision.rb
testlab-1.9.2 lib/testlab/node/provision.rb
testlab-1.9.1 lib/testlab/node/provision.rb
testlab-1.9.0 lib/testlab/node/provision.rb
testlab-1.8.5 lib/testlab/node/provision.rb
testlab-1.8.4 lib/testlab/node/provision.rb
testlab-1.8.3 lib/testlab/node/provision.rb