From 4a9495d9732b1fb6f33fae5d90ec04821998fa8e Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 27 Sep 2025 23:52:51 +0900 Subject: [PATCH] Import base parameter types for ::policy Import the parameter types from openstacklib::policy so that parameter types are validated at module level, instead of internal resource call. Change-Id: I31380c3949cd1ef38b8ee09fd21dd36196bb16ba Signed-off-by: Takashi Kajinami --- manifests/policy.pp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/manifests/policy.pp b/manifests/policy.pp index 98343742..5c2fbc88 100644 --- a/manifests/policy.pp +++ b/manifests/policy.pp @@ -46,13 +46,13 @@ # Defaults to false. # class heat::policy ( - $enforce_scope = $facts['os_service_default'], - $enforce_new_defaults = $facts['os_service_default'], - Hash $policies = {}, - $policy_path = '/etc/heat/policy.yaml', - $policy_default_rule = $facts['os_service_default'], - $policy_dirs = $facts['os_service_default'], - Boolean $purge_config = false, + $enforce_scope = $facts['os_service_default'], + $enforce_new_defaults = $facts['os_service_default'], + Openstacklib::Policies $policies = {}, + Stdlib::Absolutepath $policy_path = '/etc/heat/policy.yaml', + $policy_default_rule = $facts['os_service_default'], + $policy_dirs = $facts['os_service_default'], + Boolean $purge_config = false, ) { include heat::deps include heat::params