lib/vx/builder/script/services.rb in vx-builder-0.1.8 vs lib/vx/builder/script/services.rb in vx-builder-0.2.0

- old
+ new

@@ -1,15 +1,13 @@ module Vx module Builder class Script - Services = Struct.new(:app) do + class Services < Base ALIASES = { 'rabbitmq' => 'rabbitmq-server' } - - include Helper::TraceShCommand def call(env) env.source.services.each do |srv| srv = ALIASES[srv] || srv env.init << trace_sh_command("sudo service #{srv} start")