diff options
author | 2016-01-25 13:05:57 +0100 | |
---|---|---|
committer | 2016-03-10 18:21:39 +0100 | |
commit | 99cdabc403e5e9ff66182526ff6c577bdc1f9164 (patch) | |
tree | d093f6405e2ef8d20c9f67cbdfb679b1733c60e1 /puppet/manifests/overcloud_cephstorage.pp | |
parent | dfb70bd5b3d133a614193e42d04a7a69b0bb821b (diff) |
Support the deployment of Ceph over IPv6
To deploy Ceph on IPv6, we need to enable ms_bind_ipv6 in addition
to passing the list of MON IPs in brackets.
Change-Id: I3644b8fc06458e68574afa5573f07442f0a09190
Diffstat (limited to 'puppet/manifests/overcloud_cephstorage.pp')
-rw-r--r-- | puppet/manifests/overcloud_cephstorage.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/manifests/overcloud_cephstorage.pp b/puppet/manifests/overcloud_cephstorage.pp index 0db5b45a..fd7faff1 100644 --- a/puppet/manifests/overcloud_cephstorage.pp +++ b/puppet/manifests/overcloud_cephstorage.pp @@ -40,6 +40,14 @@ if str2bool(hiera('ceph_osd_selinux_permissive', true)) { } -> Class['ceph::profile::osd'] } +if str2bool(hiera('ceph_ipv6', false)) { + $mon_host = hiera('ceph_mon_host_v6') +} else { + $mon_host = hiera('ceph_mon_host') +} +class { '::ceph::profile::params': + mon_host => $mon_host, +} include ::ceph::conf include ::ceph::profile::client include ::ceph::profile::osd |