lib/build-cloud/asgroup.rb in build-cloud-0.0.16 vs lib/build-cloud/asgroup.rb in build-cloud-0.0.17

- old
+ new

@@ -41,10 +41,15 @@ @log.debug( options ) asg = @as.groups.new( options ) asg.save + + if options[:enabled_metrics] + @log.debug( 'metrics enabled') + asg.enable_metrics_collection('1Minute', options[:enable_metrics]) + end @log.debug( asg.inspect ) end @@ -63,6 +68,5 @@ fog_object.destroy( :force => true ) end end -