From 527a56895ad01d785764ac12ffd6bef2c375915f Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 7 Apr 2016 17:26:12 -0400 Subject: [PATCH] scenario001/centos7: deploy Ceph on IPv6 Deploy scenario001 on centos7 by using IPv6 networks. Keep IPv4 testing on Ubuntu Trusty. Change-Id: I1fa62d8c20ae64db4163adc02e8b424553593c46 --- manifests/ceph.pp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/manifests/ceph.pp b/manifests/ceph.pp index 9bbffdff9..e30f344a4 100644 --- a/manifests/ceph.pp +++ b/manifests/ceph.pp @@ -1,9 +1,18 @@ class openstack_integration::ceph { + include ::openstack_integration::config + + if $::openstack_integration::config::ipv6 { + $ms_bind_ipv6 = true + } else { + $ms_bind_ipv6 = undef + } + class { '::ceph::profile::params': fsid => '7200aea0-2ddd-4a32-aa2a-d49f66ab554c', + ms_bind_ipv6 => $ms_bind_ipv6, authentication_type => 'cephx', - mon_host => '127.0.0.1', + mon_host => $::openstack_integration::config::ip_for_url, mon_initial_members => $::hostname, osd_pool_default_size => '1', osd_pool_default_min_size => '1',