Sha256: fa0f8121932857019ff1c5f4e689ae1c77112125249b550230a625c2febad3d7
Contents?: true
Size: 508 Bytes
Versions: 2
Compression:
Stored size: 508 Bytes
Contents
module Vagabond module Actions module Up def up if(lxc.exists?) if(lxc.running?) ui.error "Node already exists and is running: #{name}" else ui.info "#{ui.color('Vagabond:', :bold)} Starting node: #{ui.color(name, :green)}" lxc.start ui.info ui.color(' -> STARTED', :green) end else create end do_provision unless Config[:disable_auto_provision] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagabond-0.1.4 | lib/vagabond/actions/up.rb |
vagabond-0.1.2 | lib/vagabond/actions/up.rb |