39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# File 'manifests/profile/base/neutron/plugins/ml2/networking_ansible.pp', line 39
class tripleo::profile::base::neutron::plugins::ml2::networking_ansible(
$neutron_redis_password = hiera('neutron_redis_password'),
$redis_vip = hiera('redis_vip'),
$enable_internal_tls = hiera('enable_internal_tls', false),
$step = Integer(hiera('step'))
) {
include tripleo::profile::base::neutron
if $enable_internal_tls {
$tls_query_param = '?ssl=true'
} else {
$tls_query_param = ''
}
if $step >= 4 {
class { 'neutron::plugins::ml2::networking_ansible':
coordination_uri => join(['redis://:', $neutron_redis_password, '@', normalize_ip_for_uri($redis_vip), ':6379/', $tls_query_param])
}
}
}
|