Merge "Set memcached_servers for nova API"
This commit is contained in:
@@ -39,6 +39,16 @@ class tripleo::profile::base::nova::api (
|
|||||||
|
|
||||||
if $step >= 4 or ($step >= 3 and $sync_db) {
|
if $step >= 4 or ($step >= 3 and $sync_db) {
|
||||||
|
|
||||||
|
if hiera('nova::use_ipv6', false) {
|
||||||
|
$memcache_servers = suffix(any2array(normalize_ip_for_uri(hiera('memcached_node_ips_v6'))), ':11211')
|
||||||
|
} else {
|
||||||
|
$memcache_servers = suffix(any2array(normalize_ip_for_uri(hiera('memcached_node_ips'))), ':11211')
|
||||||
|
}
|
||||||
|
|
||||||
|
class { '::nova::keystone::authtoken':
|
||||||
|
memcached_servers => $memcache_servers
|
||||||
|
}
|
||||||
|
|
||||||
class { '::nova::api':
|
class { '::nova::api':
|
||||||
sync_db => $sync_db,
|
sync_db => $sync_db,
|
||||||
sync_db_api => $sync_db,
|
sync_db_api => $sync_db,
|
||||||
|
Reference in New Issue
Block a user