Puppet Class: elasticsearch::curator
- Defined in:
- modules/elasticsearch/manifests/curator.pp
Overview
Class: elasticsearch::curator
This class installs elasticsearch-curator and all of the curator actions. Individual clusters to manage must be defined with elasticsearch::curator::cluster.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'modules/elasticsearch/manifests/curator.pp', line 7
class elasticsearch::curator {
package { 'elasticsearch-curator':
ensure => 'present',
}
file { '/etc/curator/':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
recurse => true,
purge => true,
}
elasticsearch::curator::config {
'disable-shard-allocation':
source => 'puppet:///modules/elasticsearch/curator/disable-shard-allocation.yaml';
'enable-shard-allocation':
source => 'puppet:///modules/elasticsearch/curator/enable-shard-allocation.yaml';
}
}
|