From bde473d547892e54c05e07b2fd248e7cbb5acabd Mon Sep 17 00:00:00 2001 From: Alessandro Costantini <alessandro.costantini@cnaf.infn.it> Date: Tue, 9 Feb 2016 10:34:21 +0100 Subject: [PATCH] Restiling tenant variables --- manifests/params.pp | 59 +++++++++++++++++---------------------------- 1 file changed, 22 insertions(+), 37 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index 14b1539..27e3837 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,21 +1,20 @@ class iaas::params ( -#global variables -##Network +##Global variables +#Network $public_interface = 'eth0', $admin_interface = 'eth0', $data_interface = 'eth0', -## Node -- base.pp +#Node -- base.pp $dns_servers = ['DNS_SERVER1','DNS_SERVER2'], $dns_searchdomain = 'searchdomain.localhost', - -# Enable only if $public_interface != $external_device1 +#Enable only if $public_interface != $external_device1 $public_gateway = undef, - +#External devices $external_device1 = 'eth0', $external_device2 = undef, -#CEPH +##CEPH $ceph_fsid = 'f65809d3-7961-4cd7-b731-a9bc94bc6e9c', # Uncomment if auth_type is different from 'cephx' #ceph_authentication_type = 'cephx', @@ -29,35 +28,26 @@ $ceph_cluster_network = '10.10.98.0/24', $ceph_public_network = '10.10.98.0/24', $ceph_osd_journal_size = '2048', - - - - -#Openstack general +##Openstack general $verbose = false, $debug = false, $region = 'regionOne', - #VIP1 $main_hostname = '<VIP_Hostname_public>', # VIP Hostname (public) $main_address = '<VIP_IP_public>', # The main virtual address pointing to the load-balancers #VIP2 $admin_address = '<VIP_IP_private>', # The private virtual address pointing to the load-balancers - #Endpoints $endpoint_servers = ['<HOSTNAME_SERVER1>', '<HOSTNAME_SERVER2>', '<HOSTNAME_SERVER3>'], -#RabbitMQ +##RabbitMQ $rabbit_hosts = ['<HOSTNAME_SERVER1>:5672', '<HOSTNAME_SERVER2>:5672', '<HOSTNAME_SERVER3>:5672'], $rabbit_user = 'openstack', $rabbit_password = 'openstack', -#Mysql_params -#none - +##DB_params #Mongo_prams $mongo_endpoint_coordination = ['<HOSTNAME_SERVER1>:27017','<HOSTNAME_SERVER2>:27017','<HOSTNAME_SERVER3>:27017'], - #MysqlDB $db_keystone_user = 'keystone', $db_keystone_password = 'keystone', @@ -75,51 +65,46 @@ $db_heat_password = 'heat', $db_ceilometer_user = 'ceilometer', $db_ceilometer_password = 'ceilometer', -#Memcache +##Memcache $memcache = ['<HOSTNAME_CONTROLLER1>:11211','<HOSTNAME_CONTROLLER2>:11211'], -#Neutron +##Neutron $neutron_password = 'neutron', $neutron_secret = 'neutron', $neutron_core_plugin = 'ml2', $neutron_service_plugins = ['router', 'lbaas', 'vpnaas', 'firewall', 'metering'], -#Nova +##Nova $nova_password = 'nova', $nova_default_flotting_pool = 'ext-net', -#Ceilometer +##Ceilometer $ceilometer_password = 'ceilometer', $ceilometer_secret = 'ceilometer', -# Glance +##Glance $glance_password = 'glance', -#Cinder +##Cinder $cinder_password = 'cinder', $cinder_secret = '5e899071-df68-40d3-b0ea-6ec22b7c12a0', -#Heat +##Heat $heat_password = 'heat', # https://bugs.launchpad.net/heat/+bug/1415887: "AES key must be either 16, 24, or 32 bytes long" $heat_encryption_key = '12345678912345678912345678912345', -#Horizon +##Horizon $horizon_secret = 'horizon', #Controller (da spostare in controller.pp?) -$admin_token = '<ADMIN_TOKEN>', -$admin_email = 'admin@mail', -$admin_password = '<ADMIN_PASSWD>', -$admin_tenant = 'admin', - - - - - +#$admin_token = '<ADMIN_TOKEN>', +#$admin_email = 'admin@mail', +#$admin_password = '<ADMIN_PASSWD>', +#$admin_tenant = 'admin', ){ - +# } -- GitLab