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
This commit is contained in:
Takashi Kajinami 2023-07-17 23:55:22 +09:00
parent 83c19702c2
commit c55e22b8a3

View File

@ -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,