Resource Type: consul_key_value

Defined in:
lib/puppet/type/consul_key_value.rb
Providers:
default

Overview

Manage a consul key value object.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • value

    The key value string

Parameters

  • acl_api_token (defaults to: anonymous)

    Token for accessing the ACL API

  • api_tries (defaults to: 3)

    number of tries when contacting the Consul REST API

  • datacenter (defaults to: '')

    Name of the datacenter to query. If unspecified, the query will default to the datacenter of the Consul agent at the HTTP address.

  • flags (defaults to: 0)

    Flags integer

  • hostname (defaults to: localhost)

    consul hostname

  • name (namevar)

    Name of the key/value object

  • port (defaults to: 8500)

    consul port

  • protocol (defaults to: http)

    consul protocol

    Supported values:
    • http
    • https
  • provider

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