Sha256: f78fa9bbc017fb8a0f9e03e08959cd4da1b9109051941d31c1e0bb9700b3b311
Contents?: true
Size: 776 Bytes
Versions: 13
Compression:
Stored size: 776 Bytes
Contents
class TestLab class Node module Provision # Provision the node. def provision @ui.logger.debug { "Node Provision: #{self.id} " } (self.state != :running) and return false 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} " } (self.state != :running) and return false 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
13 entries across 13 versions & 1 rubygems