fe99014b10
These params are unused, but putting first default values to make a removal on various commits: First this commit, then removal of params on site.pp to finally remove params on controller.pp. Change-Id: I367d569d5f004ec124a7759d4a0f240ca46abe6f
59 lines
2.3 KiB
Puppet
59 lines
2.3 KiB
Puppet
class openstack_project::infracloud::controller (
|
|
$keystone_rabbit_password,
|
|
$neutron_rabbit_password,
|
|
$nova_rabbit_password,
|
|
$root_mysql_password,
|
|
$keystone_mysql_password,
|
|
$glance_mysql_password,
|
|
$neutron_mysql_password,
|
|
$nova_mysql_password,
|
|
$glance_admin_password,
|
|
$keystone_admin_password,
|
|
$neutron_admin_password,
|
|
$nova_admin_password,
|
|
$keystone_admin_token,
|
|
$ssl_key_file_contents,
|
|
$ssl_cert_file_contents,
|
|
$br_name,
|
|
$controller_public_address = $::fqdn,
|
|
$openstackci_password = 'tmpvalue',
|
|
$openstackci_email = 'infra-root@openstack.org',
|
|
$openstackjenkins_password = 'tmpvalue',
|
|
$openstackjenkins_email = 'infra-root@openstack.org',
|
|
$neutron_subnet_cidr,
|
|
$neutron_subnet_gateway,
|
|
$neutron_subnet_allocation_pools,
|
|
$mysql_max_connections = 1024,
|
|
) {
|
|
include ::openstack_project::infracloud::base
|
|
|
|
class { '::infracloud::controller':
|
|
keystone_rabbit_password => $keystone_rabbit_password,
|
|
neutron_rabbit_password => $neutron_rabbit_password,
|
|
nova_rabbit_password => $nova_rabbit_password,
|
|
root_mysql_password => $root_mysql_password,
|
|
keystone_mysql_password => $keystone_mysql_password,
|
|
glance_mysql_password => $glance_mysql_password,
|
|
neutron_mysql_password => $neutron_mysql_password,
|
|
nova_mysql_password => $nova_mysql_password,
|
|
keystone_admin_password => $keystone_admin_password,
|
|
glance_admin_password => $glance_admin_password,
|
|
neutron_admin_password => $neutron_admin_password,
|
|
nova_admin_password => $nova_admin_password,
|
|
keystone_admin_token => $keystone_admin_token,
|
|
ssl_key_file_contents => $ssl_key_file_contents,
|
|
ssl_cert_file_contents => $ssl_cert_file_contents,
|
|
br_name => $br_name,
|
|
controller_public_address => $controller_public_address,
|
|
neutron_subnet_cidr => $neutron_subnet_cidr,
|
|
neutron_subnet_gateway => $neutron_subnet_gateway,
|
|
neutron_subnet_allocation_pools => $neutron_subnet_allocation_pools,
|
|
mysql_max_connections => $mysql_max_connections,
|
|
}
|
|
|
|
realize (
|
|
User::Virtual::Localuser['colleen'],
|
|
)
|
|
|
|
}
|