Resource Type: sensu_cluster_federation_member

Defined in:
lib/puppet/type/sensu_cluster_federation_member.rb
Providers:
sensuctl
sensu_api

Summary

Manages Sensu clusters federation member

Overview

Autorequires:

  • Package[sensu-go-cli]
  • Service[sensu-backend]
  • Sensuctl_configure[puppet]
  • Sensu_api_validator[sensu]
  • Sensu_user[admin]

Examples:

Add to a federated cluster

sensu_cluster_federation_member { 'http://10.0.0.1:8080':
  ensure   => 'present',
  cluster  => 'us-west-2a',
}

Add to a federated cluster to us-west-2a cluster using composite name

sensu_cluster_federation_member { 'http://10.0.0.1:8080 in us-west-2a':
  ensure => 'present',
}

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • api_url

    API URL to add to the federated cluster, defaults to name

  • cluster

    Federated cluster name

  • name (namevar)

    The name of the resource

  • provider

    The specific backend to use for this sensu_cluster_federation_member resource. You will seldom need to specify this --- Puppet will usually discover the appropriate provider for your platform.