OpenStack Nova Puppet Module
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
1.0 KiB

# == 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;
}
}