lib/itamae/recipe.rb in itamae-1.0.0.beta23 vs lib/itamae/recipe.rb in itamae-1.0.0.beta24
- old
+ new
@@ -19,10 +19,12 @@
def node
@runner.node
end
def run(options = {})
+ Logger.info "> Applying recipe... (#{@path})"
+
@dependencies.each do |resource|
case resource
when Resource::Base
resource.run(nil, dry_run: options[:dry_run])
when Recipe
@@ -31,9 +33,11 @@
end
@delayed_actions.uniq.each do |action, resource|
resource.run(action, dry_run: options[:dry_run])
end
+
+ Logger.info "< Finished. (#{@path})"
end
private
def load_dependencies