Files
puppet-openstack-cloud/params.pp
Emilien Macchi 890249f154 Add Cinder to LB & change nova variables
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
2013-11-14 02:29:46 +01:00

170 lines
5.5 KiB
Puppet

#
# Copyright (C) 2013 eNovance SAS <licensing@enovance.com>
#
# Authors: Mehdi Abaakouk <mehdi.abaakouk@enovance.com>
# Emilien Macchi <emilien.macchi@enovance.com>
# Francois Charlier <francois.charlier@enovance.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# Parameters of eNovance CI
class os_params {
$site_domain = 'enovance.com'
$os_release = 'havana'
$region = 'enovance-ci'
$storage = True
$compute = False
$install_packages = False
# Root hashed password (enovance by default)
$root_password = '$1$2X/chMfy$CuJ4xPZY0WO2pRfIm5djn/'
# Databases
$keystone_db_host = '10.68.0.47'
$keystone_db_user = 'keystone'
$keystone_db_password = 'H3YPSYaKbKP40DuvHHpdrhYFVpa10A'
$keystone_allowed_hosts = ['os-ci-test%', '10.68.0.%']
$heat_db_host = '10.68.0.47'
$heat_db_user = 'heat'
$heat_db_password = 'rooghah0phe1tieDeixoodo0quil8iox'
$glance_host = '10.68.0.47'
$glance_db_host = '10.68.0.47'
$glance_db_user = 'glance'
$glance_db_password = 'uYgNjBzjMjv2fD0yD3LqiQQPKEKuXA'
$glance_allowed_hosts = ['os-ci-test%', '10.192.0.%']
$cinder_db_host = '10.68.0.47'
$cinder_db_user = 'cinder'
$cinder_db_password = 'BwgPjjqdbxiKvKm5JMaVrCaT8ePBwP'
$cinder_allowed_hosts = ['os-ci-test%', '10.192.0.%']
$ceilometer_database_connection = 'mongodb://10.68.0.47/ceilometer'
# Keystone params
$keystone_roles_addons = ['SwiftOperator', 'ResellerAdmin']
$ks_admin_token = 'iw3feche3JeeYo9mejoohaugai3thohahwo9tiuyoe5Thier8Eiwah8K'
$ks_admin_email = 'dev@enovance.com'
$ks_admin_password = 'Xokoph5io2aenaoh0nuiquei9aineigo'
$ks_admin_tenant = 'admin'
$ks_swift_dispersion_password = 'aipee1die1eeSohph9yae8eeluthaleu'
$ks_swift_password = 'cwnu6Eeph4jahsh5wooch5Panahjaidie8'
$ks_ceilometer_password = 'eafhafbheafaefaejiiutiu7374aesf3aiNu'
$ks_glance_password = 'WUBDUbox7gDz3GP6EAYWGos9VBPh82'
$ks_cinder_password = '768JIxDvnrBbwGaRRn5mHjrzz9jNJi'
$ks_heat_password = 'EIMMvWvDPEvI08ggT2azYMhGdsNXe6'
$keystone_memchached = ['10.68.0.47:11211']
# API Ports
$swift_port = '8080'
$keystone_port = '5000'
$keystone_admin_port = '35357'
$ceilometer_port = '8777'
$glance_port = '9292'
$heat_port = '8004'
$neutron_port = '9696'
$cinder_port = '8776'
$nova_port = '8774'
# Keystone Endpoints
$ks_keystone_public_proto = 'http'
$ks_keystone_public_port = '5000'
$ks_keystone_public_host = 'os-ci-test3.enovance.com'
$ks_keystone_internal_host = 'os-ci-test3.enovance.com'
$ks_keystone_admin_host = 'os-ci-test3.enovance.com'
$ks_swift_public_proto = 'http'
$ks_swift_public_port = '8080'
$ks_swift_public_host = 'os-ci-test3.enovance.com'
$ks_swift_admin_host = 'os-ci-test3.enovance.com'
$ks_swift_internal_host = 'os-ci-test3.enovance.com'
$ks_ceilometer_public_proto = 'http'
$ks_ceilometer_public_host = 'os-ci-test3.enovance.com'
$ks_ceilometer_admin_host = 'os-ci-test3.enovance.com'
$ks_ceilometer_internal_host = 'os-ci-test3.enovance.com'
$ks_cinder_public_proto = 'http'
$ks_cinder_public_host = 'os-ci-test3.enovance.com'
$ks_cinder_admin_host = 'os-ci-test3.enovance.com'
$ks_cinder_internal_host = 'os-ci-test3.enovance.com'
$ks_glance_public_proto = 'http'
$ks_glance_public_host = 'os-ci-test3.enovance.com'
$ks_glance_admin_host = 'os-ci-test3.enovance.com'
$ks_glance_internal_host = 'os-ci-test3.enovance.com'
$ks_nova_public_proto = 'http'
$ks_nova_public_host = 'os-ci-test3.enovance.com'
$ks_nova_admin_host = 'os-ci-test3.enovance.com'
$ks_nova_internal_host = 'os-ci-test3.enovance.com'
$ks_heat_public_proto = 'http'
$ks_swift_public_port = '8004'
$ks_heat_public_host = 'os-ci-test3.enovance.com'
$ks_heat_admin_host = 'os-ci-test3.enovance.com'
$ks_heat_internal_host = 'os-ci-test3.enovance.com'
# Swift
$swift_cors_allow_origin = 'http://os-ci-test3.enovance.com'
$swift_hash_suffix = 'ni2aseiWi8ich3oo'
$swift_rsync_max_connections = 5
$swift_memchached = ['10.68.0.47:11211']
$statsd_host = '127.0.0.1'
$statsd_port = '4125'
$os_swift_zone = {
'os-ci-test8' => 1,
'os-ci-test9' => 2,
'os-ci-test12' => 3,
}
# MySQL
$mysql_password = 'TRG33WDCAvmLqtUv5MwfGxDnxTyaciMAV4RFe044'
$mysql_debian_sys_maint = 'HFCeEKGG6DBQEaYUEDjGITcbzRWDmv'
$galera_master = 'os-ci-test3'
$galera_nextserver = {
'os-ci-test3' => '', # 10.68.0.47
'os-ci-test4' => '10.68.0.48',
}
# LoadBalancer
$keepalived_email = "dev@${site_domain}"
$keepalived_smtp = "mxi1.${site_domain}"
$haproxy_auth = 'root:enovance'
# Dashboard
$horizon_port = '443'
# Ceilometer
$ceilometer_secret = 'aefiojanjbo778efa'
# MongoDB
$mongodb_location = ''
# RabbitMQ
$rabbit_names = ['os-ci-test3']
$rabbit_hosts = ['10.68.0.47:5672']
$rabbit_password = 'okaeTh3aiwiewohk'
# Useful when we need a single Rabbit host (like Sensu needs)
$rabbit_main_host = 'os-ci-test3'
# Ceph
cinder_rbd_pool = 'cinder_volumes'
glance_api_version = '2'
cinder_rbd_user = 'cinder_rbd'
cinder_rbd_secret_uuid = '95c98032-ad65-5db8-f5d3-5bd09cd563ef'
}