summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2013-01-18 21:17:44 -0800
committerJohn Keiser <jkeiser@opscode.com>2013-06-07 13:12:22 -0700
commit3b16515eadd22e28ac879bf0582b341c9c4a690c (patch)
treef7f322360e5473e71e699a1131073c0fcee8c3d7 /lib/chef/chef_fs.rb
parent54a28ff3336b08e83ae7f2a6903c7a7f97bb4b78 (diff)
downloadchef-3b16515eadd22e28ac879bf0582b341c9c4a690c.tar.gz
Support backslash on Windows
Diffstat (limited to 'lib/chef/chef_fs.rb')
-rw-r--r--lib/chef/chef_fs.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/chef/chef_fs.rb b/lib/chef/chef_fs.rb
index 14ab8c0a6e..bc445e53ad 100644
--- a/lib/chef/chef_fs.rb
+++ b/lib/chef/chef_fs.rb
@@ -1,11 +1,9 @@
-require 'chef/chef_fs/file_system/chef_server_root_dir'
-require 'chef/config'
-require 'chef/rest'
+require 'chef/platform'
class Chef
module ChefFS
def self.windows?
- false
+ Chef::Platform.windows?
end
end
end