Fix Puppet specs
Change-Id: I66049f6aa166be4681109d3d8f204c24c891a70e
This commit is contained in:
parent
a9fe44ff6b
commit
73817fba86
|
@ -26,11 +26,12 @@ class lma_collector::aggregator::server (
|
|||
|
||||
$config_dir = $lma_collector::params::metric_config_dir
|
||||
|
||||
$scribbler_config = {
|
||||
"${lma_collector::params::aggregator_flag}" => 'present'
|
||||
}
|
||||
heka::decoder::scribbler { 'aggregator_flag':
|
||||
config_dir => $config_dir,
|
||||
config => {
|
||||
"${lma_collector::params::aggregator_flag}" => 'present',
|
||||
},
|
||||
config => $scribbler_config,
|
||||
notify => Class['lma_collector::service::metric'],
|
||||
}
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ describe 'lma_collector::influxdb' do
|
|||
it { is_expected.to contain_heka__encoder__payload('influxdb') }
|
||||
it { is_expected.to contain_heka__filter__sandbox('influxdb_accumulator').with_config({
|
||||
"tag_fields" => "foo zzz", "flush_interval"=> 5,
|
||||
"flush_count"=> 500, "time_precision" => "ms"}) }
|
||||
"flush_count"=> 400, "time_precision" => "ms"}) }
|
||||
it { is_expected.to contain_heka__filter__sandbox('influxdb_annotation') }
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue