Module: Vagabond::Actions::Provision
- Defined in:
- lib/vagabond/actions/provision.rb
Instance Method Summary collapse
Instance Method Details
#_provision ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/vagabond/actions/provision.rb', line 4 def _provision name_required! if(lxc.exists?) if(lxc.running?) do_provision else ui.error "Node is not currently running: #{name}" end else ui.error "Node not created: #{name}" end end |