lib/stackster/stack/stack_creater.rb in stackster-0.2.2 vs lib/stackster/stack/stack_creater.rb in stackster-0.2.3
- old
+ new
@@ -3,15 +3,17 @@
module Stackster
class StackCreater
def initialize(args)
@config = args[:config]
+ @logger = @config.logger
@entry = args[:entry]
@name = args[:name]
@template = read_template_from_file args[:template_file]
end
def create
+ @logger.info "Creating Cloud Formation stack #{@name}."
cloud_formation.create :name => @name,
:parameters => read_parameters_from_entry,
:template => @template
end