summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-02-03 13:01:13 -0800
committerTim Smith <tsmith84@gmail.com>2020-02-03 13:01:13 -0800
commitf14fbcfbd1abd22469be5298dafb645299602d25 (patch)
tree4e053007050b82b8852e72d28195b4d14f3677ac
parent5b06a6d96f8199f01a3ed7e01f4a5b86dc589c92 (diff)
downloadchef-f14fbcfbd1abd22469be5298dafb645299602d25.tar.gz
Document the new hidden field in mac_user ships in 15.8
Make sure we expose this come docs Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/user/mac_user.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/user/mac_user.rb b/lib/chef/resource/user/mac_user.rb
index 2d53e1310e..6f40287951 100644
--- a/lib/chef/resource/user/mac_user.rb
+++ b/lib/chef/resource/user/mac_user.rb
@@ -1,6 +1,6 @@
#
# Author:: Ryan Cragun (<ryan@chef.io>)
-# Copyright:: Copyright 2019, Chef Software Inc.
+# Copyright:: Copyright 2019-2020, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -101,7 +101,7 @@ class Chef
property :admin, [TrueClass, FalseClass], description: "Create the user as an admin", default: false
# Hide a user account in the macOS login window
- property :hidden, [TrueClass, FalseClass, nil], description: "Hide account from loginwindow and system preferences", default: nil
+ property :hidden, [TrueClass, FalseClass, nil], description: "Hide account from loginwindow and system preferences", default: nil, introduced: "15.8"
# TCC on macOS >= 10.14 requires admin credentials of an Admin user that
# has SecureToken enabled in order to toggle SecureToken.