# File lib/chef/knife/cluster_stop.rb, line 35 def confirm_execution(target) ui.info " Unless these nodes are backed by EBS volumes, this will result in loss of all data" ui.info " not saved elsewhere. Even if they are EBS backed, there may still be some data loss." if target.any?(&:permanent?) ui.warn "These servers are marked as 'permanent=true': #{ui.color(target.select(&:permanent?).map(&:name).join('.'), :red)}" end confirm_or_exit("Are you absolutely certain that you want to perform this action? (Type 'Yes' to confirm) ", 'Yes') end
Generated with the Darkfish Rdoc Generator 2.