diff options
Diffstat (limited to 'tasks/docs.rb')
-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" |