Merge "Remove redundant usage of ensure_resource"
This commit is contained in:
commit
b675c0915d
@ -329,6 +329,7 @@ as a standalone service, or httpd for being run by a httpd server")
|
||||
'api/hide_server_address_states': value => $hide_server_address_states;
|
||||
'api/allow_instance_snapshots': value => $allow_instance_snapshots;
|
||||
'api/enable_instance_password': value => $enable_instance_password;
|
||||
'DEFAULT/allow_resize_to_same_host': value => $allow_resize_to_same_host;
|
||||
}
|
||||
|
||||
if ($ratelimits != undef) {
|
||||
@ -372,6 +373,4 @@ as a standalone service, or httpd for being run by a httpd server")
|
||||
$validation_options_hash = merge ($defaults, $validation_options)
|
||||
create_resources('openstacklib::service_validation', $validation_options_hash, {'subscribe' => 'Service[nova-api]'})
|
||||
}
|
||||
|
||||
ensure_resource('nova_config', 'DEFAULT/allow_resize_to_same_host', { value => $allow_resize_to_same_host })
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user