summaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/swift/ringbuilder.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/profile/base/swift/ringbuilder.pp')
-rw-r--r--manifests/profile/base/swift/ringbuilder.pp33
1 files changed, 18 insertions, 15 deletions
diff --git a/manifests/profile/base/swift/ringbuilder.pp b/manifests/profile/base/swift/ringbuilder.pp
index d94c6be..e0f67cd 100644
--- a/manifests/profile/base/swift/ringbuilder.pp
+++ b/manifests/profile/base/swift/ringbuilder.pp
@@ -18,30 +18,33 @@
#
# === Parameters
#
-# [*step*]
+# [*replicas*]
+# replicas
+#
+# [*build_ring*] = true,
+# (Optional) Whether to build the ring
+# Defaults to true
+#
+# [*devices*]
+# (Optional) The swift devices
+# Defaults to ''
+#
+# [*step*]
# (Optional) The current step in deployment. See tripleo-heat-templates
# for more details.
# Defaults to hiera('step')
+#
# [*swift_zones*]
# (Optional) The swift zones
# Defaults to 1
-# [*devices*]
-# (Optional) The swift devices
-# Defaults to ''
-# [*build_ring*] = true,
-# (Optional) Whether to build the ring
-# Defaults to true
-# [*replicas*]
-# replicas
-
+#
class tripleo::profile::base::swift::ringbuilder (
- $step = hiera('step'),
- $swift_zones = '1',
- $devices = '',
- $build_ring = true,
$replicas,
+ $build_ring = true,
+ $devices = '',
+ $step = hiera('step'),
+ $swift_zones = '1',
) {
-
if $step >= 2 {
# pre-install swift here so we can build rings
include ::swift