2015-07-09 16:29:06 +02:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
|
|
context "basic tests" do
|
|
|
|
|
|
|
|
|
|
describe user('elasticsearch') do
|
|
|
|
|
it { should exist }
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
describe service('elasticsearch') do
|
|
|
|
|
it { should be_running }
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
describe package('elasticsearch') do
|
|
|
|
|
it { should be_installed }
|
|
|
|
|
end
|
|
|
|
|
|
2015-10-22 19:09:53 +01:00
|
|
|
describe file('/etc/elasticsearch/elasticsearch/elasticsearch.yml') do
|
2015-07-09 16:29:06 +02:00
|
|
|
it { should be_file }
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|