Sha256: 1de7d63d6c1a9177d9ba8194bcf0604fee1d29f7545f2d41f38066bb6defac3c
Contents?: true
Size: 892 Bytes
Versions: 13
Compression:
Stored size: 892 Bytes
Contents
class TestLab class Network module Provision # Network Provision def provision @ui.logger.debug { "Network Provision: #{self.id} " } (self.node.state != :running) and return false (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 # Network Deprovision def deprovision @ui.logger.debug { "Network Deprovision: #{self.id} " } (self.node.state != :running) and return false (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