Merge "Ensure appropriate value type for exec timeout"

This commit is contained in:
Zuul 2024-01-09 05:41:07 +00:00 committed by Gerrit Code Review
commit c9e7edcbed
5 changed files with 95 additions and 95 deletions

View File

@ -39,7 +39,7 @@
define ceph::fs (
$metadata_pool,
$data_pool,
$exec_timeout = undef,
Optional[Float[0]] $exec_timeout = undef,
) {
include ceph::params

View File

@ -65,7 +65,7 @@ define ceph::mon (
Enum['cephx', 'none'] $authentication_type = 'cephx',
$key = undef,
$keyring = undef,
$exec_timeout = undef
Optional[Float[0]] $exec_timeout = undef,
) {
include ceph::params
$exec_timeout_real = $exec_timeout ? {

View File

@ -73,7 +73,7 @@ define ceph::osd (
$bluestore_wal = undef,
$bluestore_db = undef,
Optional[Enum['filestore', 'bluestore']] $store_type = undef,
$exec_timeout = undef,
Optional[Float[0]] $exec_timeout = undef,
$selinux_file_context = 'ceph_var_lib_t',
$fsid = undef,
Boolean $dmcrypt = false,

View File

@ -41,7 +41,7 @@
#
class ceph::params (
$exec_timeout = 600,
Optional[Float[0]] $exec_timeout = undef,
$packages = ['ceph'], # just provide the minimum per default
$rgw_socket_path = '/tmp/radosgw.sock',
$enable_sig = false,

View File

@ -56,7 +56,7 @@ define ceph::pool (
$pgp_num = undef,
$size = undef,
$tag = undef,
$exec_timeout = undef,
Optional[Float[0]] $exec_timeout = undef,
) {
include ceph::params