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