Initialize Elasticsearch data only once

All Elasticsearch templates and Kibana dashboard imports are performed only
once from the primary-elasticserach_kibana node.

Implements: blueprint elasticsearch-clustering

Change-Id: Ifa605c9dcdc603080b8adb80dbc71f2796cdf34b
This commit is contained in:
Swann Croiset
2016-01-04 18:49:06 +01:00
parent ab90489df0
commit 2c9c0876bd
9 changed files with 53 additions and 41 deletions

View File

@@ -14,13 +14,13 @@
require 'spec_helper'
describe 'lma_logging_analytics::kibana_dashboard' do
let(:title) { 'foo' }
let(:title) { 'logs' }
let(:facts) do
{:kernel => 'Linux', :operatingsystem => 'Ubuntu',
:concat_basedir => '/foo'}
end
describe 'with defaults' do
it { is_expected.to contain_exec('foo') }
it { is_expected.to contain_exec('logs') }
end
end