diff options
author | Tim Smith <tsmith@chef.io> | 2018-10-29 15:08:15 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-10-30 16:19:15 -0700 |
commit | d7cbacb33f419405538ff43b5cc5cb29c227937a (patch) | |
tree | 49973839d562935729d3130ea08840fd19372567 /lib/chef/resource/execute.rb | |
parent | 1b29e8f96e1979055bf7f23751ca80a446581f0a (diff) | |
download | chef-d7cbacb33f419405538ff43b5cc5cb29c227937a.tar.gz |
Update descriptions and add default_description fields
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/execute.rb')
-rw-r--r-- | lib/chef/resource/execute.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/execute.rb b/lib/chef/resource/execute.rb index 1becbf50a7..2643a45756 100644 --- a/lib/chef/resource/execute.rb +++ b/lib/chef/resource/execute.rb @@ -100,7 +100,7 @@ class Chef # lazy used to set default value of sensitive to true if password is set property :sensitive, [ TrueClass, FalseClass ], description: "Ensure that sensitive resource data is not logged by the chef-client.", - default: lazy { |r| r.password ? true : false } + default: lazy { |r| r.password ? true : false }, default_description: "True if the password property is set. False otherwise." property :elevated, [ TrueClass, FalseClass ], default: false, description: "Determines whether the script will run with elevated permissions to circumvent User Access Control (UAC) interactively blocking the process.\nThis will cause the process to be run under a batch login instead of an interactive login. The user running Chef needs the “Replace a process level token” and “Adjust Memory Quotas for a process” permissions. The user that is running the command needs the “Log on as a batch job” permission.\nBecause this requires a login, the user and password properties are required.", |