summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-15 10:33:50 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-15 14:39:16 -0700
commit39fde861fbde1a8b961e1dc73f5f1db459eece64 (patch)
tree6469c9be687a747dc208a64a1c14013b81df214f /tasks
parente21b0e14d1855edc53a8116fcaaf648287c71ab3 (diff)
downloadchef-39fde861fbde1a8b961e1dc73f5f1db459eece64.tar.gz
Stop using the Ohai shortcode
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rwxr-xr-xtasks/docs.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index 586115f2f9..ff5a38afda 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -190,13 +190,7 @@ namespace :docs_site do
properties["properties_resources_common_windows_security"] = true if %w{cookbook_file file template remote_file directory}.include?(name)
- properties["properties_shortcode"] =
- case name
- when "ohai"
- "resource_ohai_properties.md"
- when "log"
- "resource_log_properties.md"
- end
+ properties["properties_shortcode"] = "resource_log_properties.md" if name == "log"
properties["ps_credential_helper"] = true if name == "dsc_script"