summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_share.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/windows_share.rb')
-rw-r--r--lib/chef/resource/windows_share.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef/resource/windows_share.rb b/lib/chef/resource/windows_share.rb
index 5e88f20967..d5626110dd 100644
--- a/lib/chef/resource/windows_share.rb
+++ b/lib/chef/resource/windows_share.rb
@@ -117,8 +117,6 @@ class Chef
# Specifies which files and folders in the SMB share are visible to users. AccessBased: SMB does not the display the files and folders for a share to a user unless that user has rights to access the files and folders. By default, access-based enumeration is disabled for new SMB shares. Unrestricted: SMB displays files and folders to a user even when the user does not have permission to access the items.
# property :folder_enumeration_mode, String, equal_to: %(AccessBased Unrestricted)
- include Chef::Mixin::PowershellOut
-
load_current_value do |desired|
# this command selects individual objects because EncryptData & CachingMode have underlying
# types that get converted to their Integer values by ConvertTo-Json & we need to make sure