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