Resource types
etcd_key
: Creates a key in a remote etcd database. Connection options for etcd are specified in the etcd.conf file located in your puppet confdir (Use
Functions
Creates a key in a remote etcd database. Connection options for etcd are specified in the etcd.conf file located in your puppet confdir (Use puppet config print --confdir on your master to find this.)
Example: etcd_key { '/test/key': ensure => present, value => 'Test value!', }
The following properties are available in the etcd_key
type.
Valid values: present, directory, absent
Whether the key should exist in etcd or not. You can use ensure => directory to ensure an empty diectory.
Default value: present
The value of the key. Mutually exclusive with directory => true.
The following parameters are available in the etcd_key
type.
namevar
The path of the key in the etcd structure.
Type: Ruby 4.x API
The hiera_etcd function.
The hiera_etcd function.
Returns: Any
Data type: Variant[String, Numeric]
Data type: Hash
Data type: Puppet::LookupContext