summaryrefslogtreecommitdiff
path: root/lib/chef/provider/group/windows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/group/windows.rb')
-rw-r--r--lib/chef/provider/group/windows.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/chef/provider/group/windows.rb b/lib/chef/provider/group/windows.rb
index 59d1c308ff..46d8afc7f6 100644
--- a/lib/chef/provider/group/windows.rb
+++ b/lib/chef/provider/group/windows.rb
@@ -28,11 +28,9 @@ class Chef
provides :group, os: 'windows'
- if RUBY_PLATFORM =~ /mswin|mingw32|windows/
- def initialize(new_resource,run_context)
- super
- @net_group = Chef::Util::Windows::NetGroup.new(@new_resource.group_name)
- end
+ def initialize(new_resource,run_context)
+ super
+ @net_group = Chef::Util::Windows::NetGroup.new(@new_resource.group_name)
end
def load_current_resource