Skip to content
Snippets Groups Projects
Commit 6b939069 authored by Riccardo Bucchi's avatar Riccardo Bucchi
Browse files

Revert "moved parameters from rhmk to params.pp"

This reverts commit 13860f75.
parent 13860f75
No related branches found
No related tags found
No related merge requests found
...@@ -6,48 +6,5 @@ class iaas::params( ...@@ -6,48 +6,5 @@ class iaas::params(
$dns_servers = ['10.0.0.4','10.0.0.3'], $dns_servers = ['10.0.0.4','10.0.0.3'],
$dns_searchdomain = '.openstacklocal', $dns_searchdomain = '.openstacklocal',
){ ){
## ====
## RHMK
## ====
# GLOBAL
$hostnames = ['<hostname1>','<hostnameN>']
$ips = ['<ip1>','<ipN>']
# 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'
# MONGODB
$mongo_master = false
$mongo_bootstrap = false
$mongo_key = 'Uf+8s0LbxIxNrbyEC1kw'
$mongo_password = undef
$ceilometer_pwd = 'ceilometer'
# KEEPALIVED
$keepalived_priority = 100
$keepalived_state = 'BACKUP'
$keepalived_notification_mail = 'account@domain1'
$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>']
# RABBITMQ
$rabbit_hostname = $hostname
$rabbit_user = 'openstack'
$rabbit_password = 'openstack'
$rabbit_erlang = 'JTZEOFFHPRJOTLUWEFQR'
# ZOOKEEPER
$zookeeper_id = undef
} }
...@@ -11,39 +11,39 @@ ...@@ -11,39 +11,39 @@
# #
class iaas::role::rhmk( class iaas::role::rhmk(
# GLOBAL # GLOBAL
$hostnames = $iaas::params::hostnames, $hostnames = ['<hostname1>','<hostnameN>'],
$ips = $iaas::params::ips, $ips = ['<ip1>','<ipN>'],
# MYSQL # MYSQL
$percona_master = $iaas::params::percona_master, $percona_master = false,
$mysql_root_pwd = $iaas::params::mysql_root_pwd, $mysql_root_pwd = undef,
$keystone_pwd = $iaas::params::keystone_pwd, $keystone_pwd = 'keystone',
$glance_pwd = $iaas::params::glance_pwd, $glance_pwd = 'glance',
$nova_pwd = $iaas::params::nova_pwd, $nova_pwd = 'nova',
$cinder_pwd = $iaas::params::cinder_pwd, $cinder_pwd = 'cinder',
$neutron_pwd = $iaas::params::neutron_pwd, $neutron_pwd = 'neutron',
$heat_pwd = $iaas::params::heat_pwd, $heat_pwd = 'heat',
# MONGODB # MONGODB
$mongo_master = $iaas::params::mongo_master, $mongo_master = false,
$mongo_bootstrap = $iaas::params::mongo_bootstrap, $mongo_bootstrap = false,
$mongo_key = $iaas::params::mongo_key, $mongo_key = 'Uf+8s0LbxIxNrbyEC1kw',
$mongo_password = $iaas::params::mongo_password, $mongo_password = undef,
$ceilometer_pwd = $iaas::params::ceilometer_pwd, $ceilometer_pwd = 'ceilometer',
# KEEPALIVED # KEEPALIVED
$keepalived_priority = $iaas::params::keepalived_priority, $keepalived_priority = 100,
$keepalived_state = $iaas::params::keepalived_state, $keepalived_state = 'BACKUP',
$keepalived_notification_mail = $iaas::params::keepalived_notification_mail, $keepalived_notification_mail = 'account@domain1',
$keepalived_notification_mail_from = $iaas::params::keepalived_notification_mail_from, $keepalived_notification_mail_from = 'noreply-keepalived-ocpops1@cnaf.infn.it',
$keepalived_smtp_server = $iaas::params::keepalived_smtp_server, $keepalived_smtp_server = 'smtp.server1',
# HAPROXY # HAPROXY
$haproxy_controller_hosts = $iaas::params::haproxy_controller_hosts, $haproxy_controller_hosts = ['<hostname1>','<hostnameN>'],
$haproxy_controller_ips = $iaas::params::haproxy_controller_ips, $haproxy_controller_ips = ['<ip1>','<ipN>'],
# RABBITMQ # RABBITMQ
$rabbit_hostname = $iaas::params::rabbit_hostname, $rabbit_hostname = $hostname,
$rabbit_user = $iaas::params::rabbit_user, $rabbit_user = 'openstack',
$rabbit_password = $iaas::params::rabbit_password, $rabbit_password = 'openstack',
$rabbit_erlang = $iaas::params::rabbit_erlang, $rabbit_erlang = 'JTZEOFFHPRJOTLUWEFQR',
# ZOOKEEPER # ZOOKEEPER
$zookeeper_id = $iaas::params::zookeeper_id, $zookeeper_id = undef,
) { ) {
# Base # Base
......
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