Restrict provider schema version
The schema version 1.0 has been the only version supported by nova. Reject any unsupported values using the data type validation. Change-Id: Iac0e5fc735188abe882b2b2d82bcb807207ea7f1
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
# Defaults to 'provider.yaml'
|
||||
#
|
||||
class nova::compute::provider (
|
||||
$schema_version = '1.0',
|
||||
Enum['1.0'] $schema_version = '1.0',
|
||||
Array[Hash[String[1], Any]] $custom_inventories = [],
|
||||
Stdlib::Absolutepath $config_location = '/etc/nova/provider_config',
|
||||
String[1] $config_file = 'provider.yaml',
|
||||
|
Reference in New Issue
Block a user