aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base
diff options
context:
space:
mode:
authorGiulio Fidente <gfidente@redhat.com>2016-07-01 14:52:40 +0200
committerGiulio Fidente <gfidente@redhat.com>2016-07-01 14:52:40 +0200
commit230ae767d6debd5464dc317934b0e786de83b1be (patch)
tree3eb6600a48b5f54c7cf6a175fa4f5eab85902017 /manifests/profile/base
parent3747f6ddea935fe3682b1ee57c48fbf51caadacc (diff)
Support deprecated enable_ceph_storage boolean
This was missing in the initial revision of the Ceph modules but we want to support usage of the old parameter for a cycle. Change-Id: I7ac096feb9f5655003becd79d2eea355a047c90b
Diffstat (limited to 'manifests/profile/base')
-rw-r--r--manifests/profile/base/ceph.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/profile/base/ceph.pp b/manifests/profile/base/ceph.pp
index 29ca9ae..94166ac 100644
--- a/manifests/profile/base/ceph.pp
+++ b/manifests/profile/base/ceph.pp
@@ -35,6 +35,10 @@
# mon_host when ceph_ipv6 is true
# Defaults to undef
#
+# [*enable_ceph_storage*]
+# (Optional) enable_ceph_storage
+# Deprecated: defaults to false
+#
# [*step*]
# (Optional) The current step in deployment. See tripleo-heat-templates
# for more details.
@@ -45,6 +49,7 @@ class tripleo::profile::base::ceph (
$ceph_mon_initial_members = undef,
$ceph_mon_host = undef,
$ceph_mon_host_v6 = undef,
+ $enable_ceph_storage = false,
$step = hiera('step'),
) {
@@ -67,4 +72,9 @@ class tripleo::profile::base::ceph (
include ::ceph::conf
}
+
+ # TODO: deprecated boolean
+ if $enable_ceph_storage {
+ include ::tripleo::profile::base::ceph::osd
+ }
}