puppet-nova/manifests/availability_zone.pp
Emilien Macchi 1063de82f6 compute: remove deprecated options
Remove deprecated compute options:

- default_availability_zone
- default_schedule_zone
- internal_service_availability_zone
- compute_manager

Change-Id: Ie5dd8499eaa6770cfc11a86c7b8380c8217d3b68
Related-Bug: #1674375
2017-03-20 11:22:33 -04:00

32 lines
1.0 KiB
Puppet

# == Class: nova::availability_zone
#
# nova availability zone configuration
#
# === Parameters:
#
# [*default_availability_zone*]
# (optional) Default compute node availability zone.
# Defaults to $::os_service_default
#
# [*default_schedule_zone*]
# (optional) Availability zone to use when user doesn't specify one.
# Defaults to $::os_service_default
#
# [*internal_service_availability_zone*]
# (optional) The availability zone to show internal services under.
# Defaults to $::os_service_default
#
class nova::availability_zone (
$default_availability_zone = $::os_service_default,
$default_schedule_zone = $::os_service_default,
$internal_service_availability_zone = $::os_service_default,
) {
nova_config {
'DEFAULT/default_availability_zone': value => $default_availability_zone;
'DEFAULT/default_schedule_zone': value => $default_schedule_zone;
'DEFAULT/internal_service_availability_zone': value => $internal_service_availability_zone;
}
}