Class: Percheron::Commands::Create

Inherits:
Abstract
  • Object
show all
Defined in:
lib/percheron/commands/create.rb

Instance Method Summary collapse

Methods inherited from Abstract

#config, default_parameters!, #runit, #stack

Instance Method Details

#executeObject



11
12
13
14
15
# File 'lib/percheron/commands/create.rb', line 11

def execute
  super
  opts = { unit_names: unit_names, build: build?, start: start?, deep: deep?, force: force? }
  runit { stack.create!(opts) }
end