Define step input as a Number type

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
This commit is contained in:
Steven Hardy 2016-09-21 14:53:27 +01:00 committed by Emilien Macchi
parent 1e72333702
commit 18313fe3ce
5 changed files with 15 additions and 0 deletions

View 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:

View 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:

View 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:

View 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:
- ''

View 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: