Skip to content
Snippets Groups Projects
Commit 79f4af45 authored by Riccardo Bucchi's avatar Riccardo Bucchi Committed by Alessandro Costantini
Browse files

moved shared parameters from specific role to params.pp

parent 7e4d6d38
No related branches found
No related tags found
No related merge requests found
......@@ -15,25 +15,25 @@ class iaas::role::rhmk(
$admin_address = $iaas::params::admin_address,
$public_interface = $iaas::params::public_interface,
$admin_interface = $iaas::params::admin_interface,
$hostnames = ['<hostname1>','<hostnameN>'],
$ips = ['<ip1>','<ipN>'],
$hostnames = $iaas::params::rhmk_hostnames, # ['<hostname1>','<hostnameN>'],
$ips = $iaas::params::rhmk_ips, # ['<ip1>','<ipN>'],
$dns_servers = $iaas::params::dns_servers,
$dns_searchdomain = $iaas::params::dns_searchdomain,
# MYSQL
$percona_master = false,
$mysql_root_pwd = undef,
$keystone_pwd = 'keystone',
$glance_pwd = 'glance',
$nova_pwd = 'nova',
$cinder_pwd = 'cinder',
$neutron_pwd = 'neutron',
$heat_pwd = 'heat',
$keystone_pwd = $iaas::params::db_keystone_password, #'keystone',
$glance_pwd = $iaas::params::db_glance_password, #'glance',
$nova_pwd = $iaas::params::db_nova_password, #'nova',
$cinder_pwd = $iaas::params::db_cinder_password, #'cinder',
$neutron_pwd = $iaas::params::db_neutron_password, #'neutron',
$heat_pwd = $iaas::params::db_heat_password, #'heat',
# MONGODB
$mongo_master = false,
$mongo_bootstrap = false,
$mongo_key = 'Uf+8s0LbxIxNrbyEC1kw',
$mongo_password = undef,
$ceilometer_pwd = 'ceilometer',
$ceilometer_pwd = $iaas::params::db_ceilometer_password, #'ceilometer',
# KEEPALIVED
$keepalived_priority = 100,
$keepalived_state = 'BACKUP',
......@@ -41,12 +41,12 @@ class iaas::role::rhmk(
$keepalived_notification_mail_from = 'noreply-keepalived-ocpops1@cnaf.infn.it',
$keepalived_smtp_server = 'smtp.server1',
# HAPROXY
$haproxy_controller_hosts = ['<hostname1>','<hostnameN>'],
$haproxy_controller_ips = ['<ip1>','<ipN>'],
$haproxy_controller_hosts = $iaas::params::controller_hostnames, #['<hostname1>','<hostnameN>'],
$haproxy_controller_ips = $iaas::params::controller_ips, #['<ip1>','<ipN>'],
# RABBITMQ
$rabbit_hostname = $hostname,
$rabbit_user = 'openstack',
$rabbit_password = 'openstack',
$rabbit_user = $iaas::params::rabbit_user, #'openstack',
$rabbit_password = $iaas::params::rabbit_password, #'openstack',
$rabbit_erlang = 'JTZEOFFHPRJOTLUWEFQR',
# ZOOKEEPER
$zookeeper_id = undef,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment