telemetry: update log params to master
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
parent
b4683ded87
commit
bf84617285
@ -35,11 +35,8 @@ class cloud::telemetry(
|
|||||||
rabbit_userid => 'ceilometer',
|
rabbit_userid => 'ceilometer',
|
||||||
verbose => $verbose,
|
verbose => $verbose,
|
||||||
debug => $debug,
|
debug => $debug,
|
||||||
}
|
use_syslog => true,
|
||||||
|
log_facility => 'LOG_LOCAL0'
|
||||||
ceilometer_config {
|
|
||||||
'DEFAULT/syslog_log_facility': value => 'LOG_LOCAL0';
|
|
||||||
'DEFAULT/use_syslog': value => 'yes';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class { 'ceilometer::agent::auth':
|
class { 'ceilometer::agent::auth':
|
||||||
|
@ -46,14 +46,14 @@ describe 'cloud::telemetry::centralagent' do
|
|||||||
:rabbit_userid => 'ceilometer',
|
:rabbit_userid => 'ceilometer',
|
||||||
:rabbit_hosts => ['10.0.0.1'],
|
:rabbit_hosts => ['10.0.0.1'],
|
||||||
:rabbit_password => 'secrete',
|
:rabbit_password => 'secrete',
|
||||||
:metering_secret => 'secrete'
|
:metering_secret => 'secrete',
|
||||||
|
:use_syslog => true,
|
||||||
|
:log_facility => 'LOG_LOCAL0'
|
||||||
)
|
)
|
||||||
should contain_class('ceilometer::agent::auth').with(
|
should contain_class('ceilometer::agent::auth').with(
|
||||||
:auth_password => 'secrete',
|
:auth_password => 'secrete',
|
||||||
:auth_url => 'http://10.0.0.1:5000/v2.0'
|
:auth_url => 'http://10.0.0.1:5000/v2.0'
|
||||||
)
|
)
|
||||||
should contain_ceilometer_config('DEFAULT/syslog_log_facility').with('value' => 'LOG_LOCAL0')
|
|
||||||
should contain_ceilometer_config('DEFAULT/use_syslog').with('value' => 'yes')
|
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'configure ceilometer central agent' do
|
it 'configure ceilometer central agent' do
|
||||||
|
@ -51,14 +51,14 @@ describe 'cloud::telemetry::server' do
|
|||||||
:rabbit_userid => 'ceilometer',
|
:rabbit_userid => 'ceilometer',
|
||||||
:rabbit_hosts => ['10.0.0.1'],
|
:rabbit_hosts => ['10.0.0.1'],
|
||||||
:rabbit_password => 'secrete',
|
:rabbit_password => 'secrete',
|
||||||
:metering_secret => 'secrete'
|
:metering_secret => 'secrete',
|
||||||
|
:use_syslog => true,
|
||||||
|
:log_facility => 'LOG_LOCAL0'
|
||||||
)
|
)
|
||||||
should contain_class('ceilometer::agent::auth').with(
|
should contain_class('ceilometer::agent::auth').with(
|
||||||
:auth_password => 'secrete',
|
:auth_password => 'secrete',
|
||||||
:auth_url => 'http://10.0.0.1:5000/v2.0'
|
:auth_url => 'http://10.0.0.1:5000/v2.0'
|
||||||
)
|
)
|
||||||
should contain_ceilometer_config('DEFAULT/syslog_log_facility').with('value' => 'LOG_LOCAL0')
|
|
||||||
should contain_ceilometer_config('DEFAULT/use_syslog').with('value' => 'yes')
|
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'check mongodb is started' do
|
it 'check mongodb is started' do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user