diff options
author | Tong Liu <tongl@vmware.com> | 2017-09-05 11:27:18 +0000 |
---|---|---|
committer | Bogdan Dobrelya <bdobreli@redhat.com> | 2017-09-19 09:42:10 +0000 |
commit | 5a7472c1696d9f173a1fd4387e349cda2eb44ff8 (patch) | |
tree | fd3842000aac7a994d498477840a3b9c7e4ac984 /puppet/services | |
parent | dc9d9893717b819cf65893573199db8b473d284f (diff) |
Change to boolean for boolean type params
Some boolean params are set to string type. Although it works, but
it is better to use boolean type for better validation. This patch
changes them to boolean type.
Change-Id: I9f1d223619ea14fbab26033b24eb1144796e5ef2
Closes-Bug: #1715209
(cherry picked from commit cab8ab1d342c6ffada3f2adea5834b4549240af5)
Diffstat (limited to 'puppet/services')
-rw-r--r-- | puppet/services/neutron-base.yaml | 2 | ||||
-rw-r--r-- | puppet/services/neutron-plugin-nsx.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/puppet/services/neutron-base.yaml b/puppet/services/neutron-base.yaml index af3f8637..9e493c3e 100644 --- a/puppet/services/neutron-base.yaml +++ b/puppet/services/neutron-base.yaml @@ -33,7 +33,7 @@ parameters: DhcpAgentNotification: default: true description: Whether or not to enable DHCP agent notifications. - type: string + type: boolean NeutronDnsDomain: type: string default: openstacklocal diff --git a/puppet/services/neutron-plugin-nsx.yaml b/puppet/services/neutron-plugin-nsx.yaml index 26380649..ad0fc7f8 100644 --- a/puppet/services/neutron-plugin-nsx.yaml +++ b/puppet/services/neutron-plugin-nsx.yaml @@ -49,7 +49,7 @@ parameters: NativeDhcpMetadata: default: True description: This is the flag to indicate if using native DHCP/Metadata or not. - type: string + type: boolean DhcpProfileUuid: description: This is the UUID of the NSX DHCP Profile that will be used to enable native DHCP service. |