-
-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix markdown Signed-off-by: Dan Webb <[email protected]> * Migrate from rspec to inspec Busser has been pulled from Ruby gems and is no longer maintained Signed-off-by: Dan Webb <[email protected]> * Change ServerSpec for InSpec Signed-off-by: Dan Webb <[email protected]> --------- Signed-off-by: Dan Webb <[email protected]>
- Loading branch information
Showing
25 changed files
with
68 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
## Unreleased | ||
|
||
- Fix markdown errors | ||
|
||
## 5.1.6 - *2023-09-28* | ||
|
||
## 5.1.5 - *2023-09-04* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
auth_data = 'testuser:testpass@' | ||
|
||
control 'Plugin' do | ||
describe http("http://#{auth_data}127.0.0.1:9200/_cat/plugins") do | ||
its('status') { should eq 200 } | ||
its('body') { should match(/analysis-icu/) } | ||
its('body') { should match(/mapper-size/) } | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
control 'Service' do | ||
describe service('elasticsearch') do | ||
it { should be_installed } | ||
it { should be_enabled } | ||
it { should be_running } | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
control 'User' do | ||
describe group('elasticsearch') do | ||
it { should exist } | ||
end | ||
|
||
describe user('elasticsearch') do | ||
it { should exist } | ||
it { should have_login_shell '/bin/bash' } | ||
it { should belong_to_group 'elasticsearch' } | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
name: default | ||
title: Default Tests for ElasticSearch | ||
summary: This InSpec profile contains integration tests for the ElasticSearch cookbook | ||
supports: | ||
- os-family: linux | ||
- os-family: bsd |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
test/integration/override_default/serverspec/default_spec.rb
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
test/integration/override_package/serverspec/default_spec.rb
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.