Resource Type: elasticsearch_template

Defined in:
lib/puppet/type/elasticsearch_template.rb
Providers:
ruby

Overview

Manages Elasticsearch index templates.

Properties

  • content

    Structured content of template.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • ca_file

    Absolute path to a CA file to authenticate server certificates against.

  • ca_path

    Absolute path to a directory containing CA files to authenticate server certificates against.

  • host (defaults to: localhost)

    Optional host where Elasticsearch is listening.

  • name (namevar)

    Template name.

  • password

    Optional HTTP basic authentication plaintext password for Elasticsearch.

  • port (defaults to: 9200)

    Port to use for Elasticsearch HTTP API operations.

  • protocol (defaults to: http)

    Protocol to communicate over to Elasticsearch.

  • provider

    The specific backend to use for this ‘elasticsearch_template` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • source

    Puppet source to file containing template contents.

  • timeout (defaults to: 10)

    HTTP timeout for reading/writing content to Elasticsearch.

  • username

    Optional HTTP basic authentication username for Elasticsearch.

  • validate_tls (defaults to: true)

    Whether to verify TLS/SSL certificates.

    Supported values:
    • true
    • false
    • yes
    • no