Bump default version to 6.2.2 and 5.6.8

This commit is contained in:
Michael Russell 2018-02-21 21:09:15 +01:00
parent 644a209c2c
commit fe0fc4b430
No known key found for this signature in database
GPG key ID: A90C1696496085FE
9 changed files with 60 additions and 30 deletions

View file

@ -113,12 +113,16 @@ shared_examples 'config::init' do |vars|
it { should_not exist }
end
describe file('/etc/default/elasticsearch') do
it { should_not exist }
if ['debian', 'ubuntu'].include?(os[:family])
describe file('/etc/default/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/etc/sysconfig/elasticsearch') do
it { should_not exist }
if ['centos', 'redhat'].include?(os[:family])
describe file('/etc/sysconfig/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/usr/lib/systemd/system/elasticsearch.service') do

View file

@ -200,12 +200,16 @@ shared_examples 'multi::init' do |vars|
it { should_not exist }
end
describe file('/etc/default/elasticsearch') do
it { should_not exist }
if ['debian', 'ubuntu'].include?(os[:family])
describe file('/etc/default/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/etc/sysconfig/elasticsearch') do
it { should_not exist }
if ['centos', 'redhat'].include?(os[:family])
describe file('/etc/sysconfig/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/usr/lib/systemd/system/elasticsearch.service') do

View file

@ -88,12 +88,16 @@ shared_examples 'package::init' do |vars|
it { should_not exist }
end
describe file('/etc/default/elasticsearch') do
it { should_not exist }
if ['debian', 'ubuntu'].include?(os[:family])
describe file('/etc/default/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/etc/sysconfig/elasticsearch') do
it { should_not exist }
if ['centos', 'redhat'].include?(os[:family])
describe file('/etc/sysconfig/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/usr/lib/systemd/system/elasticsearch.service') do

View file

@ -60,12 +60,16 @@ shared_examples 'standard::init' do |vars|
it { should_not exist }
end
describe file('/etc/default/elasticsearch') do
it { should_not exist }
if ['debian', 'ubuntu'].include?(os[:family])
describe file('/etc/default/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/etc/sysconfig/elasticsearch') do
it { should_not exist }
if ['centos', 'redhat'].include?(os[:family])
describe file('/etc/sysconfig/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/usr/lib/systemd/system/elasticsearch.service') do

View file

@ -56,12 +56,16 @@ shared_examples 'xpack::init' do |vars|
it { should_not exist }
end
describe file('/etc/default/elasticsearch') do
it { should_not exist }
if ['debian', 'ubuntu'].include?(os[:family])
describe file('/etc/default/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/etc/sysconfig/elasticsearch') do
it { should_not exist }
if ['centos', 'redhat'].include?(os[:family])
describe file('/etc/sysconfig/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/usr/lib/systemd/system/elasticsearch.service') do

View file

@ -57,12 +57,16 @@ shared_examples 'xpack_standard::init' do |vars|
it { should_not exist }
end
describe file('/etc/default/elasticsearch') do
it { should_not exist }
if ['debian', 'ubuntu'].include?(os[:family])
describe file('/etc/default/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/etc/sysconfig/elasticsearch') do
it { should_not exist }
if ['centos', 'redhat'].include?(os[:family])
describe file('/etc/sysconfig/elasticsearch') do
its(:content) { should match '' }
end
end
describe file('/usr/lib/systemd/system/elasticsearch.service') do