diff options
author | tylercloke <tyler@opscode.com> | 2013-03-21 15:38:07 -0700 |
---|---|---|
committer | tylercloke <tyler@opscode.com> | 2013-03-21 15:38:07 -0700 |
commit | 3f9a74387f07d6d08ec936dd39ebe9545121723b (patch) | |
tree | 867309cb57a3c730f915d8d3ef5828d5122ab2c6 /lib/chef/provider/file.rb | |
parent | 675e0c7cca37a32189fd00cdf421363c7d0d2f46 (diff) | |
download | chef-basic-win-security-reporting.tar.gz |
Very basics of windows file permissions reporting.basic-win-security-reporting
Refactored ScanAccessControl to have a Unix and Windows subclass similar to FileAccessControl.
Removed the special case of returning before ScanAccessControl processing in the file provider if Windows.
TODO: still need to have scan_access_control/windows.rb actually find the windows file perms.
Diffstat (limited to 'lib/chef/provider/file.rb')
-rw-r--r-- | lib/chef/provider/file.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/chef/provider/file.rb b/lib/chef/provider/file.rb index 91280e13b1..f26986755f 100644 --- a/lib/chef/provider/file.rb +++ b/lib/chef/provider/file.rb @@ -230,12 +230,6 @@ class Chef end end - if Chef::Platform.windows? - # TODO: To work around CHEF-3554, add support for Windows - # equivalent, or implicit resource reporting won't work for - # Windows. - return - end acl_scanner = ScanAccessControl.new(@new_resource, resource) acl_scanner.set_all! end |