From c55e22b8a339b8d27a3755f576740cb1a1ea8b99 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami <tkajinam@redhat.com> Date: Mon, 17 Jul 2023 23:55:22 +0900 Subject: [PATCH] Ensure valid value for store_type The store_type parameter accepts only one of filestore or bluestore. This ensures the given value is supported. Note that filestore will be no longer supported by the next major release(R), but is kept now because we still have to support old releases used with stable branches. Change-Id: I2be3b97677afd0baac189ddc8b880b6166610fa4 --- manifests/osd.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/osd.pp b/manifests/osd.pp index f21609b6..babf75ef 100644 --- a/manifests/osd.pp +++ b/manifests/osd.pp @@ -72,7 +72,7 @@ define ceph::osd ( $cluster = undef, $bluestore_wal = undef, $bluestore_db = undef, - $store_type = undef, + Optional[Enum['filestore', 'bluestore']] $store_type = undef, $exec_timeout = $ceph::params::exec_timeout, $selinux_file_context = 'ceph_var_lib_t', $fsid = $ceph::profile::params::fsid,