Sha256: 305c97aeb68ce3da92e7958311c1982fcbb70d350d7c4bde827a1b492459d699
Contents?: true
Size: 378 Bytes
Versions: 5
Compression:
Stored size: 378 Bytes
Contents
require 'wombat/common' class UpdateRunner include Common attr_reader :cloud, :update_file def initialize(opts) @cloud = opts.cloud.nil? ? "aws" : opts.cloud @update_file = opts.file.nil? ? "all" : opts.file end def start update_lock(cloud) if /(all|lock)/.match(update_file) update_template(cloud) if /(all|template)/.match(update_file) end end
Version data entries
5 entries across 5 versions & 1 rubygems