summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-11-10 17:12:38 -0800
committerTim Smith <tsmith84@gmail.com>2020-11-10 17:14:01 -0800
commit9ec49e1c3beb6aac3b96a19ce12447aa88ca5788 (patch)
treec4d33b977217050f47ca4c596292fc5dfb1f3f06
parent253bd29de8052c0aa8d31c16926f6376df8d6a52 (diff)
downloadchef-9ec49e1c3beb6aac3b96a19ce12447aa88ca5788.tar.gz
Update the yaml we generate for resource documentation
We updated this in https://github.com/chef/chef-web-docs/commit/ec546e806366ca315b91e77eb357f65a14e11418 to simplify the yaml we have to generate. Signed-off-by: Tim Smith <tsmith@chef.io>
-rwxr-xr-xtasks/docs.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index a220f6ca0d..8988b7486f 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -172,10 +172,7 @@ namespace :docs_site do
properties = {}
# these package properties support passing arrays for the package name
- if %w{snap_package dpkg_package yum_package apt_package zypper_package homebrew_package dnf_package pacman_package homebrew_package}.include?(name)
- properties["common_resource_functionality_multiple_packages"] = true
- properties["properties_multiple_packages"] = true
- end
+ properties["multi_package_resource"] = true if %w{snap_package dpkg_package yum_package apt_package zypper_package homebrew_package dnf_package pacman_package homebrew_package}.include?(name)
properties["common_resource_functionality_resources_common_windows_security"] = true if name == "remote_directory"