Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces that using the typed parameters. Change-Id: I80c901f3081ef057980b8c736c65c43e4fd522b2
This commit is contained in:
@@ -439,7 +439,7 @@ class nova(
|
|||||||
$initial_cpu_allocation_ratio = $facts['os_service_default'],
|
$initial_cpu_allocation_ratio = $facts['os_service_default'],
|
||||||
$initial_ram_allocation_ratio = $facts['os_service_default'],
|
$initial_ram_allocation_ratio = $facts['os_service_default'],
|
||||||
$initial_disk_allocation_ratio = $facts['os_service_default'],
|
$initial_disk_allocation_ratio = $facts['os_service_default'],
|
||||||
$purge_config = false,
|
Boolean $purge_config = false,
|
||||||
$my_ip = $facts['os_service_default'],
|
$my_ip = $facts['os_service_default'],
|
||||||
$dhcp_domain = $facts['os_service_default'],
|
$dhcp_domain = $facts['os_service_default'],
|
||||||
$instance_name_template = $facts['os_service_default'],
|
$instance_name_template = $facts['os_service_default'],
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ class nova::policy (
|
|||||||
$policy_path = '/etc/nova/policy.yaml',
|
$policy_path = '/etc/nova/policy.yaml',
|
||||||
$policy_default_rule = $facts['os_service_default'],
|
$policy_default_rule = $facts['os_service_default'],
|
||||||
$policy_dirs = $facts['os_service_default'],
|
$policy_dirs = $facts['os_service_default'],
|
||||||
$purge_config = false,
|
Boolean $purge_config = false,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include nova::deps
|
include nova::deps
|
||||||
|
|||||||
Reference in New Issue
Block a user