Skip to content
Snippets Groups Projects
Commit bde473d5 authored by Alessandro Costantini's avatar Alessandro Costantini
Browse files

Restiling tenant variables

parent f63b0fcc
No related branches found
No related tags found
No related merge requests found
class iaas::params ( class iaas::params (
#global variables ##Global variables
##Network #Network
$public_interface = 'eth0', $public_interface = 'eth0',
$admin_interface = 'eth0', $admin_interface = 'eth0',
$data_interface = 'eth0', $data_interface = 'eth0',
## Node -- base.pp #Node -- base.pp
$dns_servers = ['DNS_SERVER1','DNS_SERVER2'], $dns_servers = ['DNS_SERVER1','DNS_SERVER2'],
$dns_searchdomain = 'searchdomain.localhost', $dns_searchdomain = 'searchdomain.localhost',
#Enable only if $public_interface != $external_device1
# Enable only if $public_interface != $external_device1
$public_gateway = undef, $public_gateway = undef,
#External devices
$external_device1 = 'eth0', $external_device1 = 'eth0',
$external_device2 = undef, $external_device2 = undef,
#CEPH ##CEPH
$ceph_fsid = 'f65809d3-7961-4cd7-b731-a9bc94bc6e9c', $ceph_fsid = 'f65809d3-7961-4cd7-b731-a9bc94bc6e9c',
# Uncomment if auth_type is different from 'cephx' # Uncomment if auth_type is different from 'cephx'
#ceph_authentication_type = 'cephx', #ceph_authentication_type = 'cephx',
...@@ -29,35 +28,26 @@ $ceph_cluster_network = '10.10.98.0/24', ...@@ -29,35 +28,26 @@ $ceph_cluster_network = '10.10.98.0/24',
$ceph_public_network = '10.10.98.0/24', $ceph_public_network = '10.10.98.0/24',
$ceph_osd_journal_size = '2048', $ceph_osd_journal_size = '2048',
##Openstack general
#Openstack general
$verbose = false, $verbose = false,
$debug = false, $debug = false,
$region = 'regionOne', $region = 'regionOne',
#VIP1 #VIP1
$main_hostname = '<VIP_Hostname_public>', # VIP Hostname (public) $main_hostname = '<VIP_Hostname_public>', # VIP Hostname (public)
$main_address = '<VIP_IP_public>', # The main virtual address pointing to the load-balancers $main_address = '<VIP_IP_public>', # The main virtual address pointing to the load-balancers
#VIP2 #VIP2
$admin_address = '<VIP_IP_private>', # The private virtual address pointing to the load-balancers $admin_address = '<VIP_IP_private>', # The private virtual address pointing to the load-balancers
#Endpoints #Endpoints
$endpoint_servers = ['<HOSTNAME_SERVER1>', '<HOSTNAME_SERVER2>', '<HOSTNAME_SERVER3>'], $endpoint_servers = ['<HOSTNAME_SERVER1>', '<HOSTNAME_SERVER2>', '<HOSTNAME_SERVER3>'],
#RabbitMQ ##RabbitMQ
$rabbit_hosts = ['<HOSTNAME_SERVER1>:5672', '<HOSTNAME_SERVER2>:5672', '<HOSTNAME_SERVER3>:5672'], $rabbit_hosts = ['<HOSTNAME_SERVER1>:5672', '<HOSTNAME_SERVER2>:5672', '<HOSTNAME_SERVER3>:5672'],
$rabbit_user = 'openstack', $rabbit_user = 'openstack',
$rabbit_password = 'openstack', $rabbit_password = 'openstack',
#Mysql_params ##DB_params
#none
#Mongo_prams #Mongo_prams
$mongo_endpoint_coordination = ['<HOSTNAME_SERVER1>:27017','<HOSTNAME_SERVER2>:27017','<HOSTNAME_SERVER3>:27017'], $mongo_endpoint_coordination = ['<HOSTNAME_SERVER1>:27017','<HOSTNAME_SERVER2>:27017','<HOSTNAME_SERVER3>:27017'],
#MysqlDB #MysqlDB
$db_keystone_user = 'keystone', $db_keystone_user = 'keystone',
$db_keystone_password = 'keystone', $db_keystone_password = 'keystone',
...@@ -75,51 +65,46 @@ $db_heat_password = 'heat', ...@@ -75,51 +65,46 @@ $db_heat_password = 'heat',
$db_ceilometer_user = 'ceilometer', $db_ceilometer_user = 'ceilometer',
$db_ceilometer_password = 'ceilometer', $db_ceilometer_password = 'ceilometer',
#Memcache ##Memcache
$memcache = ['<HOSTNAME_CONTROLLER1>:11211','<HOSTNAME_CONTROLLER2>:11211'], $memcache = ['<HOSTNAME_CONTROLLER1>:11211','<HOSTNAME_CONTROLLER2>:11211'],
#Neutron ##Neutron
$neutron_password = 'neutron', $neutron_password = 'neutron',
$neutron_secret = 'neutron', $neutron_secret = 'neutron',
$neutron_core_plugin = 'ml2', $neutron_core_plugin = 'ml2',
$neutron_service_plugins = ['router', 'lbaas', 'vpnaas', 'firewall', 'metering'], $neutron_service_plugins = ['router', 'lbaas', 'vpnaas', 'firewall', 'metering'],
#Nova ##Nova
$nova_password = 'nova', $nova_password = 'nova',
$nova_default_flotting_pool = 'ext-net', $nova_default_flotting_pool = 'ext-net',
#Ceilometer ##Ceilometer
$ceilometer_password = 'ceilometer', $ceilometer_password = 'ceilometer',
$ceilometer_secret = 'ceilometer', $ceilometer_secret = 'ceilometer',
# Glance ##Glance
$glance_password = 'glance', $glance_password = 'glance',
#Cinder ##Cinder
$cinder_password = 'cinder', $cinder_password = 'cinder',
$cinder_secret = '5e899071-df68-40d3-b0ea-6ec22b7c12a0', $cinder_secret = '5e899071-df68-40d3-b0ea-6ec22b7c12a0',
#Heat ##Heat
$heat_password = 'heat', $heat_password = 'heat',
# https://bugs.launchpad.net/heat/+bug/1415887: "AES key must be either 16, 24, or 32 bytes long" # https://bugs.launchpad.net/heat/+bug/1415887: "AES key must be either 16, 24, or 32 bytes long"
$heat_encryption_key = '12345678912345678912345678912345', $heat_encryption_key = '12345678912345678912345678912345',
#Horizon ##Horizon
$horizon_secret = 'horizon', $horizon_secret = 'horizon',
#Controller (da spostare in controller.pp?) #Controller (da spostare in controller.pp?)
$admin_token = '<ADMIN_TOKEN>', #$admin_token = '<ADMIN_TOKEN>',
$admin_email = 'admin@mail', #$admin_email = 'admin@mail',
$admin_password = '<ADMIN_PASSWD>', #$admin_password = '<ADMIN_PASSWD>',
$admin_tenant = 'admin', #$admin_tenant = 'admin',
){ ){
#
} }
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