diff options
author | Davin Taddeo <davin@chef.io> | 2020-06-11 10:49:40 -0400 |
---|---|---|
committer | Davin Taddeo <davin@chef.io> | 2020-06-11 10:49:40 -0400 |
commit | c23ed3f1605e2b15e3b3822f19c1f58683cb16ec (patch) | |
tree | c945c802f4dd0ba494dd6330d8adf13ded53d067 /lib/chef/resource | |
parent | c5df2fe5c4e484e3c089dc1a928e86a12950c0bf (diff) | |
download | chef-c23ed3f1605e2b15e3b3822f19c1f58683cb16ec.tar.gz |
fix a missing comma in the code. :facepalm:
Signed-off-by: Davin Taddeo <davin@chef.io>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/windows_audit_policy.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/windows_audit_policy.rb b/lib/chef/resource/windows_audit_policy.rb index 907542239e..2ca178e40f 100644 --- a/lib/chef/resource/windows_audit_policy.rb +++ b/lib/chef/resource/windows_audit_policy.rb @@ -118,10 +118,10 @@ class Chef ``` DOC - + property :sub_category, [String, Array], coerce: proc { |p| Array(p) }, - description: "The audit policy subcategory, specified by GUID or name. Defaults to system if no user is specified." + description: "The audit policy subcategory, specified by GUID or name. Defaults to system if no user is specified.", callbacks: { "Subcategories entered should be an actual advanced audit policy subcategory" => proc { |n| (Array(n) - subcat_opts).empty? } } property :success, [true, false], |