Set default parameters for image.pp

Related #1
This commit is contained in:
Yanis Guenane 2014-02-25 10:39:13 -05:00 committed by Emilien Macchi
parent c449a7d480
commit f0c36b42fa

View File

@ -68,24 +68,24 @@
# Defaults value in params # Defaults value in params
# #
class cloud::image( class cloud::image(
$glance_db_host = $os_params::glance_db_host, $glance_db_host = '127.0.0.1',
$glance_db_user = $os_params::glance_db_user, $glance_db_user = 'glance',
$glance_db_password = $os_params::glance_db_password, $glance_db_password = 'glancepassword',
$ks_keystone_internal_host = $os_params::ks_keystone_internal_host, $ks_keystone_internal_host = '127.0.0.1',
$ks_glance_internal_host = $os_params::ks_glance_internal_host, $ks_glance_internal_host = '127.0.0.1',
$ks_glance_api_internal_port = $os_params::ks_glance_api_internal_port, $ks_glance_api_internal_port = 9292,
$ks_glance_registry_internal_port = $os_params::ks_glance_registry_internal_port, $ks_glance_registry_internal_port = 9191,
$ks_glance_password = $os_params::ks_glance_password, $ks_glance_password = 'glancepassword',
$rabbit_password = $os_params::rabbit_password, $rabbit_password = 'rabbitpassword',
$rabbit_host = $os_params::rabbit_host, $rabbit_host = '127.0.0.1',
$api_eth = $os_params::api_eth, $api_eth = '127.0.0.1',
$openstack_vip = $os_params::vip_public_ip, $openstack_vip = '127.0.0.2',
$glance_rbd_pool = $os_params::glance_rbd_pool, $glance_rbd_pool = 'images',
$glance_rbd_user = $os_params::glance_rbd_user, $glance_rbd_user = 'glance',
$verbose = $os_params::verbose, $verbose = true,
$debug = $os_params::debug, $debug = true,
$log_facility = $os_params::log_facility, $log_facility = 'LOG_LOCAL0',
$use_syslog = $os_params::use_syslog $use_syslog = true
) { ) {
# Disable twice logging if syslog is enabled # Disable twice logging if syslog is enabled