Use Stdlib::Filemode to validate file mode parameter

Change-Id: Ief6a5b8602fd8c67e291702d909ab11cd3e4e893
This commit is contained in:
Takashi Kajinami 2024-10-01 13:39:03 +09:00
parent f695c87de9
commit c1beeda5c0

View File

@ -84,7 +84,7 @@ define ceph::key (
$cap_mgr = undef,
$user = 'root',
$group = 'root',
$mode = '0600',
Stdlib::Filemode $mode = '0600',
Boolean $inject = false,
$inject_as_id = undef,
$inject_keyring = undef,