summaryrefslogtreecommitdiffstats
path: root/puppet/manifests/overcloud_controller.pp
diff options
context:
space:
mode:
authorEmilien Macchi <emilien.macchi@enovance.com>2015-02-01 18:52:18 -0500
committerDan Prince <dprince@redhat.com>2015-03-05 20:45:10 +0000
commit44a22fc61e24c2efc221edd7085c8f4d44b39fc0 (patch)
tree9b5bfeeeea262d65563459cf433e566b13f8c905 /puppet/manifests/overcloud_controller.pp
parent758c6f1597796d9ad0d2cf5758f2d1a30e912475 (diff)
Puppet: First support Ceph
This is a first implementation of Ceph support in TripleO with Puppet: * Install ceph-mon on controller node * Install ceph-osd on cephstorage node Co-Authored-By: Giulio Fidente <gfidente@redhat.com> Change-Id: I48488cbe950047fae5e746e458106d6edb9a6183
Diffstat (limited to 'puppet/manifests/overcloud_controller.pp')
-rw-r--r--puppet/manifests/overcloud_controller.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/manifests/overcloud_controller.pp b/puppet/manifests/overcloud_controller.pp
index 2e83b8c3..23e8adf0 100644
--- a/puppet/manifests/overcloud_controller.pp
+++ b/puppet/manifests/overcloud_controller.pp
@@ -150,6 +150,14 @@ if hiera('step') >= 1 {
# pre-install swift here so we can build rings
include ::swift
+ # don't install Ceph if FSID is not provided
+ if hiera('ceph::profile::params::fsid', false) {
+ class { 'ceph::profile::params':
+ mon_initial_members => downcase(hiera('ceph_mon_initial_members'))
+ }
+ include ::ceph::profile::mon
+ }
+
} #END STEP 1
if hiera('step') >= 2 {