summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-05-28 10:11:01 -0700
committerTim Smith <tsmith@chef.io>2019-05-28 10:11:01 -0700
commita37aa00450ce5f82fbac79bd52cd45f102448d4e (patch)
treef4ff3155c6f195dac4f075cb85d7f46ed0448a23
parentb6488236ef24b9c44295deac78b7bd2498e372ba (diff)
downloadchef-skip_docs.tar.gz
Add skip_docs to chocolatey_feature's feature_stateskip_docs
We don't want this to show up in docs Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/chocolatey_feature.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/chocolatey_feature.rb b/lib/chef/resource/chocolatey_feature.rb
index 1c190905f3..1cd19afbdd 100644
--- a/lib/chef/resource/chocolatey_feature.rb
+++ b/lib/chef/resource/chocolatey_feature.rb
@@ -25,7 +25,7 @@ class Chef
property :feature_name, String, name_property: true,
description: "The name of the Chocolatey feature to enable or disable."
- property :feature_state, [TrueClass, FalseClass], default: false
+ property :feature_state, [TrueClass, FalseClass], default: false, desired_state: false, skip_docs: true
load_current_value do
current_state = fetch_feature_element(feature_name)