Update Puppet tests for Kibana class
The 'should compile' directive is too dependant of local environment, and failed with Facter option conflicts, let's replace it by more specific tests. Change-Id: I01156525c10f71e9b9f66481d15db2181ef99730
This commit is contained in:
parent
a630a235be
commit
4f37537423
|
@ -19,5 +19,12 @@ describe 'lma_logging_analytics::kibana' do
|
|||
:concat_basedir => '/foo'}
|
||||
end
|
||||
|
||||
it { should compile }
|
||||
it { should create_file('/opt/kibana')}
|
||||
it { should create_file('/opt/kibana/config.js')}
|
||||
it { should create_file('/opt/kibana/app/dashboards/logs.json')}
|
||||
it { should create_file('/opt/kibana/app/dashboards/notifications.json')}
|
||||
it { should create_elasticsearch__template('kibana')}
|
||||
it { should create_lma_logging_analytics__kibana_dashboard('logs')}
|
||||
it { should create_lma_logging_analytics__kibana_dashboard('notifications')}
|
||||
it { should create_class('nginx')}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue