# File lib/chef/knife/cluster_sync.rb, line 69 def aggregates_on_noop? true end
# File lib/chef/knife/cluster_sync.rb, line 49 def perform_execution(target) if config[:chef] if config[:dry_run] ui.info "(can't do a dry-run when syncing to chef -- skipping)" else ui.info "Syncing to Chef:" target.save :providers => :chef end else Chef::Log.debug("Skipping sync to chef") ; end if config[:cloud] && target.any?(&:machine?) ui.info "Syncing to cloud:" target.save :providers => :iaas else Chef::Log.debug("Skipping sync to cloud") ; end end
Generated with the Darkfish Rdoc Generator 2.