Better error handling for plugin install and test for removal of logging.yml
This commit is contained in:
parent
3c5adf9961
commit
bc4ee9e0f1
7 changed files with 19 additions and 4 deletions
|
|
@ -103,6 +103,10 @@ shared_examples 'config::init' do |es_version|
|
|||
it { should_not exist }
|
||||
end
|
||||
|
||||
describe file('/etc/elasticsearch/logging.yml') do
|
||||
it { should_not exist }
|
||||
end
|
||||
|
||||
#Init vs Systemd tests
|
||||
#Ubuntu 15 and up
|
||||
#Debian 8 and up
|
||||
|
|
|
|||
|
|
@ -225,6 +225,9 @@ shared_examples 'multi::init' do |es_version,plugins|
|
|||
it { should_not exist }
|
||||
end
|
||||
|
||||
describe file('/etc/elasticsearch/logging.yml') do
|
||||
it { should_not exist }
|
||||
end
|
||||
|
||||
|
||||
#Test server spec file has been created and modified - currently not possible as not copied for debian 8
|
||||
|
|
|
|||
|
|
@ -103,5 +103,9 @@ shared_examples 'package::init' do |es_version,plugins|
|
|||
it { should_not exist }
|
||||
end
|
||||
|
||||
describe file('/etc/elasticsearch/logging.yml') do
|
||||
it { should_not exist }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -67,5 +67,9 @@ shared_examples 'standard::init' do |es_version|
|
|||
it { should_not exist }
|
||||
end
|
||||
|
||||
describe file('/etc/elasticsearch/logging.yml') do
|
||||
it { should_not exist }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue