Files
puppet-openstack-cloud/params.pp
2013-11-12 18:36:11 +01:00

150 lines
4.8 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 = 'rooghah0phe1tieDeixoodo0quil8iox'
$keystone_allowed_hosts = ['os-ci-test%', '10.68.0.%']
# Extra roles:
$keystone_roles_addons = ['SwiftOperator', 'ResellerAdmin']
$ceilometer_database_connection = 'mongodb://10.68.0.47/ceilometer'
# Keystone Users
$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 = 'N!M)w+Fi>Ha^_$UIU&^lwI7Sj]4k@P@;B<bD"^[]'
$ks_cinder_password = '@d07[L<6sB>]6Tu*qOd;bGuBb5(3[f{PgH&h5QFFX}])'
$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'
# Keystone Endpoints
$ks_keystone_public_proto = 'http'
$ks_keystone_public_port = '5000'
$ks_keystone_public_host = 'os-ci-test3.enovance.com' # ipvs lb web
$ks_keystone_internal_host = 'os-ci-test3.enovance.com' # ipvs lb int # can be used for now
$ks_keystone_admin_host = 'os-ci-test3.enovance.com' # ipvs lb int # can be used for now
$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'
# 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 = 'rFY"8:5OU]#.6+1%m3sCRl}syI08M{R]}19+rJ)K'
$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'
# Glance
$glance_host = '10.68.0.47'
$glance_db_host = '10.68.0.47'
$glance_db_user = 'glance'
$glance_db_password = '7f$x^FnoS^*sA^pD@>5Me3ql84aenmTEL5@E^yb'
$glance_allowed_hosts = ['os-ci-test%', '10.192.0.%']
# Cinder
$cinder_db_host = '10.68.0.47'
$cinder_db_user = 'cinder'
$cinder_db_password = 'Nw]lSjCnnQnwjS-AI27|Fp|7DC1.w6T|z~Oa6dS'
$cinder_allowed_hosts = ['os-ci-test%', '10.192.0.%']
# 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'
}