Sha256: 78a1bbbfd789f1bb4c133ba6254be1d72ff967725a9ee9b95632ef16438c1194
Contents?: true
Size: 572 Bytes
Versions: 14
Compression:
Stored size: 572 Bytes
Contents
module Mccloud module Command class BootstrapCommand < Base argument :box_name, :type => :string, :optional => true, :default => nil argument :command, :type => :string, :optional => true, :default => nil register "bootstrap [NAME] [FILENAME]", "Executes the bootstrap sequence" def execute env.load! env.config.providers.each do |name,provider| env.logger.debug("Asking provider #{name} to boostrap box #{box_name}") provider.bootstrap(box_name,command,options) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems