my ceilometer.pp is :
class { '::ceilometer': metering_secret => hiera('CONFIG_CEILOMETER_SECRET'), verbose => true, debug => hiera('CONFIG_DEBUG_MODE'), rabbit_host => hiera('CONFIG_AMQP_HOST_URL'), rabbit_port => hiera('CONFIG_AMQP_CLIENTS_PORT'), rabbit_use_ssl => hiera('CONFIG_AMQP_ENABLE_SSL'), rabbit_userid => hiera('CONFIG_AMQP_AUTH_USER'), rabbit_password => hiera('CONFIG_AMQP_AUTH_PASSWORD'), }
$config_mariadb_host = hiera('CONFIG_MARIADB_HOST_URL') class { '::ceilometer::db': database_connection => "mysql://ceilometer:ceilometer@${config_mariadb_host}/ceilometer", }
$config_controller_host = hiera('CONFIG_KEYSTONE_HOST_URL')
class { '::ceilometer::agent::auth': auth_url => "http://${config_controller_host}:35357/v2.0", auth_password => hiera('CONFIG_CEILOMETER_KS_PW'), }
$bind_host = hiera('CONFIG_IP_VERSION') ? { 'ipv6' => '::0', 'ipv4' => '0.0.0.0', }
class { '::ceilometer::api': host => $bind_host, port => hiera('CONFIG_CEILOMETER_API_PORT'), keystone_host => hiera('CONFIG_KEYSTONE_HOST_URL'), keystone_password => hiera('CONFIG_CEILOMETER_KS_PW'), }
class { '::ceilometer::collector': }
class { '::ceilometer::agent::notification': }
class { '::ceilometer::agent::central':}
class { '::ceilometer::alarm::evaluator':}
class { '::ceilometer::alarm::notifier':}
my ceilometer.pp is :
class { '::ceilometer': CONFIG_ CEILOMETER_ SECRET' ), CONFIG_ DEBUG_MODE' ), CONFIG_ AMQP_HOST_ URL'), CONFIG_ AMQP_CLIENTS_ PORT'), CONFIG_ AMQP_ENABLE_ SSL'), CONFIG_ AMQP_AUTH_ USER'), CONFIG_ AMQP_AUTH_ PASSWORD' ),
metering_secret => hiera('
verbose => true,
debug => hiera('
rabbit_host => hiera('
rabbit_port => hiera('
rabbit_use_ssl => hiera('
rabbit_userid => hiera('
rabbit_password => hiera('
}
$config_ mariadb_ host = hiera(' CONFIG_ MARIADB_ HOST_URL' ) connection => "mysql: //ceilometer: ceilometer@ ${config_ mariadb_ host}/ceilomete r",
class { '::ceilometer::db':
database_
}
$config_ controller_ host = hiera(' CONFIG_ KEYSTONE_ HOST_URL' )
class { '::ceilometer: :agent: :auth': ${config_ controller_ host}:35357/ v2.0", CONFIG_ CEILOMETER_ KS_PW') ,
auth_url => "http://
auth_password => hiera('
}
$bind_host = hiera(' CONFIG_ IP_VERSION' ) ? {
'ipv6' => '::0',
'ipv4' => '0.0.0.0',
}
class { '::ceilometer: :api': CONFIG_ CEILOMETER_ API_PORT' ), CONFIG_ KEYSTONE_ HOST_URL' ), CONFIG_ CEILOMETER_ KS_PW') ,
host => $bind_host,
port => hiera('
keystone_host => hiera('
keystone_password => hiera('
}
class { '::ceilometer: :collector' : }
class { '::ceilometer: :agent: :notification' : }
class { '::ceilometer: :agent: :central' :}
class { '::ceilometer: :alarm: :evaluator' :}
class { '::ceilometer: :alarm: :notifier' :}