diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-10-28 13:22:56 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-10-28 13:25:50 -0700 |
commit | a10fb12a67d885f96d165f4853453e6d2914086b (patch) | |
tree | 5781b7141d069d0a9af187f0d6e43f1bf50afd0f | |
parent | 28f2c570a6d0d9389260c15559981ab5fee04382 (diff) | |
download | chef-a10fb12a67d885f96d165f4853453e6d2914086b.tar.gz |
Make sure we set both multipackage configs in the docsdocs_generation_updates
Signed-off-by: Tim Smith <tsmith@chef.io>
-rwxr-xr-x | tasks/docs.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb index 325489321c..5ad4d2baf4 100755 --- a/tasks/docs.rb +++ b/tasks/docs.rb @@ -172,7 +172,10 @@ namespace :docs_site do properties = {} # these package properties support passing arrays for the package name - properties["common_resource_functionality_multiple_packages"] = true if %w{snap_package dpkg_package yum_package apt_package zypper_package homebrew_package dnf_package pacman_package homebrew_package}.include?(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["common_resource_functionality_resources_common_windows_security"] = true if name == "remote_directory" @@ -188,8 +191,6 @@ namespace :docs_site do properties["nameless_build_essential"] = true if name == "build_essential" - properties["properties_multiple_packages"] = true if %w{dnf_package package zypper_package}.include?(name) - properties["properties_resources_common_windows_security"] = true if %w{cookbook_file file template remote_file directory}.include?(name) properties["properties_shortcode"] = "resource_log_properties.md" if name == "log" |