summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-02-03 13:07:38 -0800
committerGitHub <noreply@github.com>2020-02-03 13:07:38 -0800
commita7d23b6fc94f6a7175339086cbcc6b50ce19a928 (patch)
tree4e053007050b82b8852e72d28195b4d14f3677ac
parent5b06a6d96f8199f01a3ed7e01f4a5b86dc589c92 (diff)
parentf14fbcfbd1abd22469be5298dafb645299602d25 (diff)
downloadchef-a7d23b6fc94f6a7175339086cbcc6b50ce19a928.tar.gz
Merge pull request #9322 from chef/document_mac_user
Document the new hidden field in mac_user ships in 15.8
-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.