1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# File 'modules/openstack/manifests/neutron/common.pp', line 1
class openstack::neutron::common(
$version,
Array[Stdlib::Fqdn] $memcached_nodes,
Array[Stdlib::Fqdn] $rabbitmq_nodes,
Stdlib::Fqdn $keystone_fqdn,
$db_pass,
$db_user,
$db_host,
$region,
$dhcp_domain,
$ldap_user_pass,
$rabbit_user,
$rabbit_pass,
$log_agent_heartbeats,
$agent_down_time,
Stdlib::Port $bind_port,
Boolean $enforce_policy_scope,
Boolean $enforce_new_policy_defaults,
) {
class { "openstack::neutron::common::${version}":
memcached_nodes => $memcached_nodes,
rabbitmq_nodes => $rabbitmq_nodes,
keystone_fqdn => $keystone_fqdn,
db_pass => $db_pass,
db_user => $db_user,
db_host => $db_host,
region => $region,
dhcp_domain => $dhcp_domain,
ldap_user_pass => $ldap_user_pass,
rabbit_user => $rabbit_user,
rabbit_pass => $rabbit_pass,
log_agent_heartbeats => $log_agent_heartbeats,
agent_down_time => $agent_down_time,
bind_port => $bind_port,
enforce_policy_scope => $enforce_policy_scope,
enforce_new_policy_defaults => $enforce_new_policy_defaults,
}
# Installed by neutron-common
$invalid_files = [
'/etc/neutron/plugins/ml2/ml2_conf_sriov.ini',
'/etc/neutron/plugins/ml2/openvswitch_agent.ini',
'/etc/neutron/plugins/ml2/sriov_agent.ini',
]
file { $invalid_files:
ensure => 'absent',
}
}
|