Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix markdown #792

Merged
merged 3 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Fix markdown errors

## 5.1.6 - *2023-09-28*

## 5.1.5 - *2023-09-04*
Expand Down
2 changes: 1 addition & 1 deletion documentation/install.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `elasticsearch_install`

The install_repository.rb class is part of the Elasticsearch Cookbook and is responsible for managing the installation and removal of Elasticsearch repositories. It includes helper methods from the ElasticsearchCookbook::Helpers module and utilizes partials _common.rb and_repository.rb for defining properties related to Elasticsearch instances and repository options.
The install_repository.rb class is part of the Elasticsearch Cookbook and is responsible for managing the installation and removal of Elasticsearch repositories. It includes helper methods from the ElasticsearchCookbook::Helpers module and utilizes `partials/_common.rb` and `partials/_repository.rb` for defining properties related to Elasticsearch instances and repository options.

## Properties

Expand Down
2 changes: 1 addition & 1 deletion documentation/install_repository.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# install_repository

The install_repository.rb class is part of the Elasticsearch Cookbook and is responsible for managing the installation and removal of Elasticsearch repositories. It includes helper methods from the ElasticsearchCookbook::Helpers module and utilizes partials _common.rb and_repository.rb for defining properties related to Elasticsearch instances and repository options.
The install_repository.rb class is part of the Elasticsearch Cookbook and is responsible for managing the installation and removal of Elasticsearch repositories. It includes helper methods from the ElasticsearchCookbook::Helpers module and utilizes `partials/_common.rb` and `partials/_repository.rb` for defining properties related to Elasticsearch instances and repository options.

## Notes

Expand Down
3 changes: 3 additions & 0 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ provisioner:
log_level: <%= ENV['CHEF_LOG_LEVEL'] || 'auto' %>
nodes_path: "test/fixtures/nodes"

verifier:
name: inspec

platforms:
- name: ubuntu-18.04
- name: ubuntu-20.04
Expand Down
Empty file removed mlc_config.json
Empty file.
9 changes: 9 additions & 0 deletions test/integration/default/controls/extension_spec.rb
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
7 changes: 7 additions & 0 deletions test/integration/default/controls/service_spec.rb
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
11 changes: 11 additions & 0 deletions test/integration/default/controls/user_spec.rb
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
7 changes: 7 additions & 0 deletions test/integration/default/inspec.yml
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
11 changes: 0 additions & 11 deletions test/integration/helpers/serverspec/chef_examples.rb

This file was deleted.

97 changes: 0 additions & 97 deletions test/integration/helpers/serverspec/configure_examples.rb

This file was deleted.

28 changes: 0 additions & 28 deletions test/integration/helpers/serverspec/install_examples.rb

This file was deleted.

26 changes: 0 additions & 26 deletions test/integration/helpers/serverspec/plugin_examples.rb

This file was deleted.

31 changes: 0 additions & 31 deletions test/integration/helpers/serverspec/service_examples.rb

This file was deleted.

31 changes: 0 additions & 31 deletions test/integration/helpers/serverspec/spec_helper.rb

This file was deleted.

20 changes: 0 additions & 20 deletions test/integration/helpers/serverspec/user_examples.rb

This file was deleted.

37 changes: 0 additions & 37 deletions test/integration/override_default/serverspec/default_spec.rb

This file was deleted.

34 changes: 0 additions & 34 deletions test/integration/override_package/serverspec/default_spec.rb

This file was deleted.

Loading