lib/open-dock/commands/provision_host.rb in open-dock-0.0.10 vs lib/open-dock/commands/provision_host.rb in open-dock-0.0.11

- old
+ new

@@ -1,11 +1,11 @@ -command :'provision host' do |c| +command :provision do |c| c.summary = 'Create and ship the host based on config files' - c.syntax = 'ops provision host [host_name]' + 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 host example.com' + c.example "Creates and ships example.com host", 'ops provisiion example.com' c.action do |args, options| - system "#{program :name} create host #{args.join(" ")}" + system "#{program :name} create #{args.join(" ")}" sleep 15 - system "#{program :name} ship host #{args.join(" ")}" + system "#{program :name} ship #{args.join(" ")}" end end \ No newline at end of file