Use Stdlib::Filemode to validate file mode

Change-Id: Ifb6f2b94df7e3ae8b4633c3a4655dc2b5f60fde8
This commit is contained in:
Takashi Kajinami 2024-10-01 13:37:35 +09:00
parent dccda34953
commit 1f4e317d14

View File

@ -107,7 +107,7 @@ class magnum::capi_helm (
Optional[Hash] $kubeconfig = undef,
String[1] $kubeconfig_owner = $::magnum::params::user,
String[1] $kubeconfig_group = $::magnum::params::group,
String[1] $kubeconfig_mode = '0400',
Stdlib::Filemode $kubeconfig_mode = '0400',
String[1] $namespace_prefix = $facts['os_service_default'],
String[1] $helm_chart_repo = $facts['os_service_default'],
String[1] $helm_chart_name = $facts['os_service_default'],