diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-08-04 11:30:44 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-08-04 11:30:44 -0700 |
commit | b4d57ddf14d8dabebea50ff2dc3e64647fc32c25 (patch) | |
tree | d2ba5261c1c719a2f0b6e451597c122ea31d86a8 /lib/chef/resource/windows_workgroup.rb | |
parent | 69bd023b9617c5bdf0fcbaa5606bfd0a22b1db44 (diff) | |
download | chef-b4d57ddf14d8dabebea50ff2dc3e64647fc32c25.tar.gz |
Convert windows custom resources to unified_mode
Tiny bit of code rage included to wipe out a completely unnecessary
nodoc property I found in two of these.
There are 7 other non-custom-resource-style windows resources that
need converting that are all that is left.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/windows_workgroup.rb')
-rw-r--r-- | lib/chef/resource/windows_workgroup.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/windows_workgroup.rb b/lib/chef/resource/windows_workgroup.rb index b77b0fc20a..05427df890 100644 --- a/lib/chef/resource/windows_workgroup.rb +++ b/lib/chef/resource/windows_workgroup.rb @@ -57,6 +57,7 @@ class Chef property :password, String, description: "The password for the local administrator user. Required if using the `user` property.", + sensitive: true, desired_state: false property :reboot, Symbol, @@ -83,6 +84,7 @@ class Chef end # define this again so we can default it to true. Otherwise failures print the password + # FIXME: this should now be unnecessary with the password property itself marked sensitive? property :sensitive, [TrueClass, FalseClass], default: true, desired_state: false |