Puppet Class: opensearch::curator

Defined in:
modules/opensearch/manifests/curator.pp

Overview

Class: opensearch::curator

This class installs elasticsearch-curator and all of the curator actions. Individual clusters to manage must be defined with opensearch::curator::cluster.



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'modules/opensearch/manifests/curator.pp', line 7

class opensearch::curator {
    # TODO: use fork when available
    package { 'elasticsearch-curator':
      ensure => '5.8.1'  # ensure version compatible with announced version 7.10.0
    }

    file { '/etc/curator/':
        ensure  => directory,
        owner   => 'root',
        group   => 'root',
        mode    => '0755',
        recurse => true,
        purge   => true,
    }
    opensearch::curator::config {
        'disable-shard-allocation':
            source => 'puppet:///modules/opensearch/curator/disable-shard-allocation.yaml';
        'enable-shard-allocation':
            source => 'puppet:///modules/opensearch/curator/enable-shard-allocation.yaml';
    }
}