From cab8ab1d342c6ffada3f2adea5834b4549240af5 Mon Sep 17 00:00:00 2001 From: Tong Liu Date: Tue, 5 Sep 2017 11:27:18 +0000 Subject: [PATCH] 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 --- puppet/services/neutron-base.yaml | 2 +- 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 af3f863769..9e493c3e64 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 263806492c..ad0fc7f893 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.