Resource Type: consul_acl

Defined in:
lib/puppet/type/consul_acl.rb

Overview

Manage a consul token and its ACLs.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • id

    ID of token

  • protocol (defaults to: http)

    consul protocol

    Supported values:
    • http
    • https
  • rules

    hash of ACL rules for this token

  • type (defaults to: client)

    Type of token

    Supported values:
    • client
    • management

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

  • ca_file

    Absolute path to a PEM CA bundle used to verify the Consul HTTPS server.

  • ca_path

    Absolute path to an OpenSSL hashed CA directory used to verify the Consul HTTPS server.

  • client_cert

    Absolute path to a PEM client certificate, optionally followed by intermediate certificates, for mutual TLS.

  • client_key

    Absolute path to the unencrypted PEM private key for client_cert.

  • hostname (defaults to: localhost)

    consul hostname

  • name (namevar)

    Name of the token

  • port (defaults to: 8500)

    consul port