Resource Type: sensu_etcd_replicator
Summary
Manages Sensu etcd replicatorsOverview
Autorequires:
Package[sensu-go-cli]
Service[sensu-backend]
Sensuctl_configure[puppet]
Sensu_api_validator[sensu]
Sensu_user[admin]
Examples:
Create an Etcd Replicator
sensu_etcd_replicator { 'role_replicator':
ensure => 'present',
ca_cert => '/path/to/ssl/trusted-certificate-authorities.pem',
cert => '/path/to/ssl/cert.pem',
key => '/path/to/ssl/key.pem',
insecure => false,
url => 'http://127.0.0.1:2379',
api_version => 'core/v2',
resource_name => 'Role',
replication_interval_seconds => 30,
}
Properties
-
api_version
(defaults to: core/v2)
Sensu API version of the resource to replicate
-
ca_cert
Path to an the PEM-format CA certificate to use for TLS client authentication.
-
cert
Path to the PEM-format certificate to use for TLS client authentication.
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
insecure
(defaults to: false)
true to disable transport security.
Supported values:- true
- false
-
key
Path to the PEM-format key file associated with the cert to use for TLS client authentication.
-
namespace
Namespace to constrain replication to. If you do not include namespace, all namespaces for a given resource are replicated.
-
replication_interval_seconds
(defaults to: 30)
The interval at which the resource will be replicated
Supported values:- /^[0-9]+$/
- absent
-
resource_name
Name of the resource to replicate
-
url
Destination cluster URL. If specifying more than one, use a comma to separate.
Parameters
-
name (namevar)
The name of the Etcd Replicator.
-
provider
The specific backend to use for this
sensu_etcd_replicator
resource. You will seldom need to specify this --- Puppet will usually discover the appropriate provider for your platform.