Resource Type: consul_policy

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

Overview

Manages a Consul ACL policy

Properties

  • datacenters (defaults to: [])

    List of datacenter names assigned to the policy

  • description

    Description of the policy

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • id (defaults to: '')

    ID of already existing policy

  • rules (defaults to: [])

    List of ACL rules for this policy

Parameters

  • acl_api_token (defaults to: '')

    Token for accessing the ACL API

  • api_tries (defaults to: 3)

    number of tries when contacting the Consul REST API

  • hostname (defaults to: localhost)

    consul hostname

  • name (namevar)

    Name of the policy

  • 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_policy` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.