Sha256: f784587cbf5d6d2386b91b4d04434269bc3d985f72cc6611128f6d1533711020

Contents?: true

Size: 433 Bytes

Versions: 22

Compression:

Stored size: 433 Bytes

Contents

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
open-dock-0.1.18 lib/open-dock/commands/provision_host.rb
open-dock-0.1.17 lib/open-dock/commands/provision_host.rb
open-dock-0.1.16 lib/open-dock/commands/provision_host.rb
open-dock-0.1.15 lib/open-dock/commands/provision_host.rb
open-dock-0.1.14 lib/open-dock/commands/provision_host.rb
open-dock-0.1.13 lib/open-dock/commands/provision_host.rb
open-dock-0.1.11 lib/open-dock/commands/provision_host.rb
open-dock-0.1.10 lib/open-dock/commands/provision_host.rb
open-dock-0.1.9 lib/open-dock/commands/provision_host.rb
open-dock-0.1.8 lib/open-dock/commands/provision_host.rb
open-dock-0.1.7 lib/open-dock/commands/provision_host.rb
open-dock-0.1.6 lib/open-dock/commands/provision_host.rb
open-dock-0.1.5 lib/open-dock/commands/provision_host.rb
open-dock-0.1.3 lib/open-dock/commands/provision_host.rb
open-dock-0.1.2 lib/open-dock/commands/provision_host.rb
open-dock-0.1.1 lib/open-dock/commands/provision_host.rb
open-dock-0.1.0 lib/open-dock/commands/provision_host.rb
open-dock-0.0.15 lib/open-dock/commands/provision_host.rb
open-dock-0.0.14 lib/open-dock/commands/provision_host.rb
open-dock-0.0.13 lib/open-dock/commands/provision_host.rb