class Chef::FileContentManagement::Deploy

Public Class Methods

strategy(atomic_update) click to toggle source
# File lib/chef/file_content_management/deploy.rb, line 28
def self.strategy(atomic_update)
  if atomic_update
    ChefUtils.windows? ? MvWindows.new : MvUnix.new
  else
    Cp.new
  end
end