Resource Type: consul_key_value
- Defined in:
- lib/puppet/type/consul_key_value.rb
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
-
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.
-
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