Add step to ObjectStorage RingBuilder deployment
authorSteven Hardy <shardy@redhat.com>
Wed, 18 May 2016 15:38:34 +0000 (16:38 +0100)
committerSteven Hardy <shardy@redhat.com>
Wed, 18 May 2016 16:49:36 +0000 (17:49 +0100)
https://review.openstack.org/#/c/236243 added a new conditional
for the controller steps, but we don't pass any step for the
ObjectStorage nodes, so the deployment fails.  This passes a
step that enables the ringbuilder again, although it does end
up inconsistent with the deployment Step name.

Change-Id: I506961f4a22dba9960d819d7376a39e7ccbcdece
Closes-Bug: #1583225

puppet/swift-storage-post.yaml

index eb06b24..b262f94 100644 (file)
@@ -52,6 +52,10 @@ resources:
       group: puppet
       options:
         enable_debug: {get_param: ConfigDebug}
+        enable_hiera: True
+        enable_facter: False
+      inputs:
+      - name: step
       outputs:
       - name: result
       config:
@@ -65,6 +69,7 @@ resources:
       servers:  {get_param: servers}
       config: {get_resource: StorageRingbuilderPuppetConfig}
       input_values:
+        step: 3 # Note ringbuilder.pp expects >=3
         update_identifier: {get_param: NodeConfigIdentifiers}
 
   # Note, this should come last, so use depends_on to ensure