Merge "Ensure absolute path for file creation"

This commit is contained in:
Zuul
2023-07-27 17:16:28 +00:00
committed by Gerrit Code Review
3 changed files with 30 additions and 30 deletions

View File

@@ -77,7 +77,7 @@
define ceph::key (
$secret,
$cluster = undef,
$keyring_path = "/etc/ceph/ceph.${name}.keyring",
Stdlib::Absolutepath $keyring_path = "/etc/ceph/ceph.${name}.keyring",
$cap_mon = undef,
$cap_osd = undef,
$cap_mds = undef,

View File

@@ -55,7 +55,7 @@ class ceph::mds (
$pkg_mds = $ceph::params::pkg_mds,
$pkg_mds_ensure = present,
Boolean $mds_activate = true,
$mds_data = undef,
Optional[Stdlib::Absolutepath] $mds_data = undef,
$mds_enable = true,
$mds_ensure = 'running',
$mds_id = $facts['networking']['hostname'],

View File

@@ -92,10 +92,10 @@ define ceph::rgw (
$rgw_ensure = 'running',
$rgw_enable = true,
$rgw_enable_apis = undef,
$rgw_data = "/var/lib/ceph/radosgw/ceph-${name}",
Stdlib::Absolutepath $rgw_data = "/var/lib/ceph/radosgw/ceph-${name}",
$user = $ceph::params::user_radosgw,
$keyring_path = "/etc/ceph/ceph.client.${name}.keyring",
$log_file = '/var/log/ceph/radosgw.log',
Stdlib::Absolutepath $keyring_path = "/etc/ceph/ceph.client.${name}.keyring",
Stdlib::Absolutepath $log_file = '/var/log/ceph/radosgw.log',
$rgw_dns_name = $facts['networking']['fqdn'],
$rgw_socket_path = $ceph::params::rgw_socket_path,
$rgw_print_continue = false,