summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
authorKapil Chouhan <kapil.chouhan@msystechnologies.com>2018-12-12 11:25:30 +0000
committerKapil Chouhan <kapil.chouhan@msystechnologies.com>2018-12-13 06:48:04 +0000
commit07878224095900e779d6e635574816f7f40ad23d (patch)
tree2ba9ba824b2ff91415fd9049d2a5d554da77297f /lib/chef/resource
parentf840677605ccdf9e15e742163028b069eeb8b6e8 (diff)
downloadchef-07878224095900e779d6e635574816f7f40ad23d.tar.gz
Added support for setting the comment/description on a group in Windows. This is only for the Windows group.
Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r--lib/chef/resource/group.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/resource/group.rb b/lib/chef/resource/group.rb
index 2f8406faf4..7aaecc1374 100644
--- a/lib/chef/resource/group.rb
+++ b/lib/chef/resource/group.rb
@@ -51,6 +51,10 @@ class Chef
property :non_unique, [ TrueClass, FalseClass ], default: false,
description: "Allow gid duplication. May only be used with the Groupadd provider."
+ property :comment, String,
+ introduced: "14.9",
+ description: "Specifies a comment to associate with the local group."
+
alias_method :users, :members
end
end