Sha256: 916be6edf713d0b544eba11fc9f649265d3e936b534e3038f6a927fdeb0a00a5

Contents?: true

Size: 460 Bytes

Versions: 9

Compression:

Stored size: 460 Bytes

Contents

command :'provision host' do |c|
  c.summary = 'Create and ship the host based on config files'
  c.syntax = 'ops provision host [host_name]'
  c.description = "Agregate both commands Create and Ship host"
  c.example "Creates and ships example.com host", 'ops provisiion host example.com'
  c.action do |args, options|
    system "#{program :name} create host #{args.join(" ")}"
    sleep 15
    system "#{program :name} ship host #{args.join(" ")}"
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
open-dock-0.0.10 lib/open-dock/commands/provision_host.rb
prun-ops-0.0.9 lib/prun-ops/commands/provision_host.rb
prun-ops-0.0.8 lib/prun-ops/commands/provision_host.rb
prun-ops-0.0.7 lib/prun-ops/commands/provision_host.rb
prun-ops-0.0.6 lib/prun-ops/commands/provision_host.rb
prun-ops-0.0.5 lib/prun-ops/commands/provision_host.rb
prun-ops-0.0.4 lib/prun-ops/commands/provision_host.rb
prun-ops-0.0.3 lib/prun-ops/commands/provision_host.rb
prun-ops-0.0.2 lib/prun-ops/commands/provision_host.rb