Define step input as a Number type
authorSteven Hardy <shardy@redhat.com>
Wed, 21 Sep 2016 13:53:27 +0000 (14:53 +0100)
committerEmilien Macchi <emilien@redhat.com>
Wed, 21 Sep 2016 15:45:56 +0000 (15:45 +0000)
Currently we pass numbers in (hard-coded in post.j2.yaml) but the
SoftwareConfig schema defaults to String.  If puppet requires an
integer number, setting this type may help preserve the type for
the hook.

Change-Id: Ie9227d7adb58ea3c791aa459a1ab5b17ad935919

puppet/blockstorage-config.yaml
puppet/cephstorage-config.yaml
puppet/compute-config.yaml
puppet/controller-config.yaml
puppet/objectstorage-config.yaml

index 9b31b44..e455c4c 100644 (file)
@@ -24,6 +24,9 @@ resources:
         enable_hiera: True
         enable_facter: False
         modulepath: /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules
+      inputs:
+      - name: step
+        type: Number
       outputs:
       - name: result
       config:
index 4bad4a1..3f42860 100644 (file)
@@ -24,6 +24,9 @@ resources:
         enable_hiera: True
         enable_facter: False
         modulepath: /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules
+      inputs:
+      - name: step
+        type: Number
       outputs:
       - name: result
       config:
index 9e128d3..2314c47 100644 (file)
@@ -24,6 +24,9 @@ resources:
         enable_hiera: True
         enable_facter: False
         modulepath: /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules
+      inputs:
+      - name: step
+        type: Number
       outputs:
       - name: result
       config:
index 811c544..99c7b26 100644 (file)
@@ -26,6 +26,9 @@ resources:
         modulepath: /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules
       outputs:
       - name: result
+      inputs:
+      - name: step
+        type: Number
       config:
         list_join:
         - ''
index 1dee8e6..3348054 100644 (file)
@@ -24,6 +24,9 @@ resources:
         enable_hiera: True
         enable_facter: False
         modulepath: /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules
+      inputs:
+      - name: step
+        type: Number
       outputs:
       - name: result
       config: