Defined Type: opensearch::curator::config

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

Overview

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: present)
  • content (Optional[String]) (defaults to: undef)
  • source (Optional[String]) (defaults to: undef)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'modules/opensearch/manifests/curator/config.pp', line 1

define opensearch::curator::config(
    Wmflib::Ensure   $ensure  = present,
    Optional[String] $content = undef,
    Optional[String] $source  = undef,
) {
    file { "/etc/curator/${title}.yaml":
        ensure  => $ensure,
        content => $content,
        source  => $source,
        owner   => 'root',
        group   => 'root',
        mode    => '0644',
    }

}