puppet: allow config of ad-hoc Ceph settings
Including ::ceph::conf on ceph roles will allow ad-hoc (non-puppet managed) settings to be made in the ceph.conf using Hiera. Change-Id: I656a0ecde465023d7afad9371aa3c5c270078a67
This commit is contained in:
@@ -38,6 +38,7 @@ if str2bool(hiera('ceph_osd_selinux_permissive', true)) {
|
||||
} -> Class['ceph::profile::osd']
|
||||
}
|
||||
|
||||
include ::ceph::conf
|
||||
include ::ceph::profile::client
|
||||
include ::ceph::profile::osd
|
||||
|
||||
|
@@ -49,6 +49,7 @@ nova_config {
|
||||
$rbd_ephemeral_storage = hiera('nova::compute::rbd::ephemeral_storage', false)
|
||||
$rbd_persistent_storage = hiera('rbd_persistent_storage', false)
|
||||
if $rbd_ephemeral_storage or $rbd_persistent_storage {
|
||||
include ::ceph::conf
|
||||
include ::ceph::profile::client
|
||||
|
||||
$client_keys = hiera('ceph::profile::params::client_keys')
|
||||
|
@@ -137,6 +137,7 @@ if hiera('step') >= 2 {
|
||||
class { '::ceph::profile::params':
|
||||
mon_initial_members => downcase(hiera('ceph_mon_initial_members')),
|
||||
}
|
||||
include ::ceph::conf
|
||||
include ::ceph::profile::mon
|
||||
}
|
||||
|
||||
@@ -155,10 +156,12 @@ if hiera('step') >= 2 {
|
||||
} -> Class['ceph::profile::osd']
|
||||
}
|
||||
|
||||
include ::ceph::conf
|
||||
include ::ceph::profile::osd
|
||||
}
|
||||
|
||||
if str2bool(hiera('enable_external_ceph', false)) {
|
||||
include ::ceph::conf
|
||||
include ::ceph::profile::client
|
||||
}
|
||||
|
||||
|
@@ -461,6 +461,7 @@ MYSQL_HOST=localhost\n",
|
||||
class { '::ceph::profile::params':
|
||||
mon_initial_members => downcase(hiera('ceph_mon_initial_members')),
|
||||
}
|
||||
include ::ceph::conf
|
||||
include ::ceph::profile::mon
|
||||
}
|
||||
|
||||
@@ -479,10 +480,12 @@ MYSQL_HOST=localhost\n",
|
||||
} -> Class['ceph::profile::osd']
|
||||
}
|
||||
|
||||
include ::ceph::conf
|
||||
include ::ceph::profile::osd
|
||||
}
|
||||
|
||||
if str2bool(hiera('enable_external_ceph', false)) {
|
||||
include ::ceph::conf
|
||||
include ::ceph::profile::client
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user