Resource Type: sensu_cluster_federation

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

Summary

Manages Sensu clusters federation

Overview

Autorequires:

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

Examples:

Create a federated cluster

sensu_cluster_federation { 'us-west-2a':
  ensure    => 'present',
  api_urls  => ['http://10.0.0.1:8080','http://10.0.0.2:8080','http://10.0.0.3:8080'],
}

Properties

  • api_urls

    Federated cluster backend API URLs

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • name (namevar)

    The name of the federated cluster

  • provider

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