summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/resource/group.rb4
-rw-r--r--lib/chef/resource/windows_script.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/resource/group.rb b/lib/chef/resource/group.rb
index 9a43c60e31..b7f44cd239 100644
--- a/lib/chef/resource/group.rb
+++ b/lib/chef/resource/group.rb
@@ -1,7 +1,7 @@
#
# Author:: Adam Jacob (<adam@chef.io>)
# Author:: Tyler Cloke (<tyler@chef.io>)
-# Copyright:: Copyright 2008-2018, Chef Software Inc.
+# Copyright:: Copyright 2008-2019, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +20,6 @@
class Chef
class Resource
class Group < Chef::Resource
- unified_mode true
-
state_attrs :members
description "Use the group resource to manage a local group."
diff --git a/lib/chef/resource/windows_script.rb b/lib/chef/resource/windows_script.rb
index c542fbd81b..f17b3e31c9 100644
--- a/lib/chef/resource/windows_script.rb
+++ b/lib/chef/resource/windows_script.rb
@@ -1,6 +1,6 @@
#
# Author:: Adam Edwards (<adamed@chef.io>)
-# Copyright:: Copyright 2013-2016, Chef Software Inc.
+# Copyright:: Copyright 2013-2019, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -23,6 +23,8 @@ require_relative "../mixin/windows_architecture_helper"
class Chef
class Resource
class WindowsScript < Chef::Resource::Script
+ unified_mode true
+
# This is an abstract resource meant to be subclasses; thus no 'provides'
set_guard_inherited_attributes(:architecture)