Bump default version to 6.2.2 and 5.6.8
This commit is contained in:
parent
644a209c2c
commit
fe0fc4b430
9 changed files with 60 additions and 30 deletions
|
|
@ -21,7 +21,7 @@ provisioner:
|
|||
extra_vars:
|
||||
es_major_version: "<%= ENV['VERSION'] %>"
|
||||
<% if ENV['VERSION'] == '5.x' %>
|
||||
es_version: '5.6.7'
|
||||
es_version: '5.6.8'
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
es_major_version: "6.x"
|
||||
es_version: "6.1.3"
|
||||
es_version: "6.2.2"
|
||||
es_version_lock: false
|
||||
es_use_repository: true
|
||||
es_templates_fileglob: "files/templates/*.json"
|
||||
|
|
|
|||
|
|
@ -70,14 +70,20 @@
|
|||
become: yes
|
||||
file: dest=/etc/init.d/elasticsearch state=absent
|
||||
|
||||
- name: Delete Default Environment File
|
||||
- name: Create empty default environment file
|
||||
become: yes
|
||||
file: dest=/etc/default/elasticsearch state=absent
|
||||
changed_when: False
|
||||
copy:
|
||||
dest: /etc/default/elasticsearch
|
||||
content: ''
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: Delete Default Environment File
|
||||
- name: Create empty default environment file
|
||||
become: yes
|
||||
file: dest=/etc/sysconfig/elasticsearch state=absent
|
||||
changed_when: False
|
||||
copy:
|
||||
dest: /etc/sysconfig/elasticsearch
|
||||
content: ''
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- name: Delete Default Sysconfig 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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue