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
51
52
53
54
55
|
# 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,
String[1] $firewall_driver,
Array[String[1]] $type_drivers,
Array[String[1]] $tenant_network_types,
Array[String[1]] $mechanism_drivers,
) {
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,
firewall_driver => $firewall_driver,
type_drivers => $type_drivers,
tenant_network_types => $tenant_network_types,
mechanism_drivers => $mechanism_drivers,
}
file { '/etc/neutron/plugins/ml2':
ensure => directory,
mode => '0755',
recurse => true,
purge => true,
require => Package['neutron-common'],
}
}
|