diff options
author | Lamont Granquist <lamont@opscode.com> | 2013-04-18 16:56:36 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@opscode.com> | 2013-04-18 16:56:36 -0700 |
commit | d0991759dcfd135d8ffce3f851d86387eb935fa0 (patch) | |
tree | 0e5b53421db943d18346ed67576553a1dd49e76a /lib/chef/providers.rb | |
parent | 86fbcb043eb99062d836e1da522770724a9ab5a8 (diff) | |
download | chef-d0991759dcfd135d8ffce3f851d86387eb935fa0.tar.gz |
use deploy_with :copy or :move as external API in resources
Diffstat (limited to 'lib/chef/providers.rb')
-rw-r--r-- | lib/chef/providers.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/chef/providers.rb b/lib/chef/providers.rb index 8acf99c31e..526d443234 100644 --- a/lib/chef/providers.rb +++ b/lib/chef/providers.rb @@ -117,7 +117,10 @@ require 'chef/provider/remote_file/content' require 'chef/provider/cookbook_file/content' require 'chef/provider/template/content' require 'chef/provider/file/deploy' -require 'chef/provider/file/deploy/cp_unix' +require 'chef/provider/file/deploy/cp' require 'chef/provider/file/deploy/mv_unix' -require 'chef/provider/file/deploy/mv_windows' +if Chef::Platform.windows? + require 'chef/provider/file/deploy/mv_windows' +end + |