cookbook 'elasticsearch-curator', '= 0.1.2'
elasticsearch-curator (12) Versions 0.1.2 Follow4
Installs/Configures elasticsearch-curator
cookbook 'elasticsearch-curator', '= 0.1.2', :supermarket
knife supermarket install elasticsearch-curator
knife supermarket download elasticsearch-curator
elasticsearch-curator
Chef cookbook to install and configure elasticsearch-curator from version 4.
Tested Platforms
- ubuntu 14.04
Usage
This cookbook can be used by including elasticsearch-curator::default
in your run list and settings attributes as needed. Alternatively, you can use the custom resources directly.
Attributes
Key | Type | Description | Default |
---|---|---|---|
node['elasticsearch-curator']['version'] | String | Version of elasticsearch-curator to install, nil = latest | nil |
node['elasticsearch-curator']['repository_url'] | String | URL of elasticsearch-curator package repository | 'http://packages.elastic.co/curator/4/debian' |
node['elasticsearch-curator']['repository_key'] | String | elasticsearch-curator repository key | 'https://packages.elastic.co/GPG-KEY-elasticsearch' |
This cookbook ships with custom resources for install elasticsearch-curator and managing the configuration file:
Custom Resources
elasticsearch_curator_install
Installs elasticsearch-curator. Optionally specifies a version, otherwise the latest available is installed
elasticsearch_curator_install 'curator' do install_method node['elasticsearch-curator']['install_method'] action :install end
elasticsearch_curator_config
Writes out the elasticsearch-curator configuration file.
elasticsearch_curator_config 'default' do config node['elasticsearch-curator']['config'] action :configure end
elasticsearch_curator_action
This will setup a cron job and create action.yaml file for elasticsearch-curator.
elasticsearch_curator_action 'action' do config node['elasticsearch-curator']['config'] minute '0' hour '*' action :create end
Tests
To run tests, install all dependencies with bundler:
bundle install
bundle exec rubocop .
bundle exec foodcritic .
Dependent cookbooks
apt >= 0.0.0 |
poise-python >= 0.0.0 |
compat_resource >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
CHANGELOG
0.1.2
- Bug fixed
- Add test cookbook for kitchen tests
0.1.1
- add compatibility with 12.X versions of Chef
Collaborator Number Metric
0.1.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.1.2 passed this metric
0.1.2 failed this metric
0.1.2 passed this metric