cookbook 'elastic_repo', '= 1.1.0'
elastic_repo (5) Versions 1.1.0 Follow0
Configures Elastic APT/Yum Repository
cookbook 'elastic_repo', '= 1.1.0', :supermarket
knife supermarket install elastic_repo
knife supermarket download elastic_repo
elastic_repo Cookbook
This is a Chef Cookbook to Create Yum/Apt Elastic Repository.
For Production environment, always prefer the most recent release.
Most Recent Release
cookbook 'elastic_repo', '~> 1.1.0'
From Git
cookbook 'elastic_repo', github: 'vkhatri/chef-elastic-repo', tag: 'v1.1.0'
Repository
https://github.com/vkhatri/chef-elastic-repo
Supported Elasticsearch Versions
- 5
- 6
Resource elastic_repo Properties
Resource elastic_repo
setup apt
and yum
Elasti Repository.
version (String)
default: '6.3.0'description (String)
default: 'Elastic Packages Repository'gpg_key (String)
default: 'https://artifacts.elastic.co/GPG-KEY-elasticsearch'apt_uri (String, NilClass)
default:https://artifacts.elastic.co/packages/#{major_version}.x/apt
apt_components (Array)
default: %w[stable main]apt_distribution (String)
default: ''yum_baseurl (String, NilClass)
default:https://artifacts.elastic.co/packages/#{major_version}.x/yum
yum_gpgcheck (TrueClass, FalseClass)
default: trueyum_enabled (TrueClass, FalseClass)
default: trueyum_priority (String, NilClass)
default: %w[amazon].include?(node['platform_family']) ? '10' : nilyum_metadata_expire (String)
default: '3h'
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests (
rake & rake knife
), ensuring they all pass - Write new resource/attribute description to
README.md
- Write description about changes to PR
- Submit a Pull Request using Github
Copyright & License
Authors:: Virender Khatri and Contributors
<pre>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</pre>
elastic_repo CHANGELOG
1.1.0
Virender Khatri - Fixed resource attribute yum_baseurl
Virender Khatri - Fixed test cookbook and added resource default values
1.0.0
- Virender Khatri - first commit
Collaborator Number Metric
1.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.0 passed this metric
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 passed this metric
1.1.0 failed this metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.0 passed this metric
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 passed this metric
1.1.0 passed this metric
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 passed this metric
1.1.0 failed this metric
1.1.0 passed this metric