Validate ensure parameter for package resources

The minimum version of puppetlabs-stdlib has been bumped globally, so
now we can use the common type definition.

Change-Id: I495f7ee2cc86404cfa5dfc6e00b4167d5bf19e7f
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-09-23 17:23:25 +09:00
parent 7bdc9ead83
commit bf60d3421a

View File

@@ -9,7 +9,8 @@
# signing, and should be set to a unique, unpredictable value.
#
# [*package_ensure*]
# (optional) Package ensure state. Defaults to 'present'.
# (optional) Package ensure state.
# Defaults to 'present'.
#
# [*purge_conf_d_dir*]
# (optional) Purge files in the local_settings.d directory
@@ -569,7 +570,7 @@
#
class horizon (
$secret_key,
$package_ensure = 'present',
Stdlib::Ensure::Package $package_ensure = 'present',
Boolean $purge_conf_d_dir = false,
Optional[Integer[0]] $memoized_max_size_default = undef,
$cache_backend = 'django.core.cache.backends.locmem.LocMemCache',