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