class Chef::FileContentManagement::Deploy
Public Class Methods
strategy(atomic_update)
click to toggle source
# File lib/chef/file_content_management/deploy.rb, line 29 def self.strategy(atomic_update) if ChefConfig::Config.target_mode? TargetIO::Deploy.new elsif atomic_update ChefUtils.windows? ? MvWindows.new : MvUnix.new else Cp.new end end