ansible-role-elasticsearch/test/integration/helpers/serverspec/oss_spec.rb
2019-09-18 10:57:07 +02:00

13 lines
365 B
Ruby

require 'spec_helper'
shared_examples 'oss::init' do |vars|
describe file("/etc/elasticsearch/log4j2.properties") do
it { should be_file }
it { should be_owned_by 'root' }
it { should_not contain 'CUSTOM LOG4J FILE' }
end
describe file("/etc/elasticsearch/jvm.options") do
it { should be_file }
it { should be_owned_by 'root' }
end
end