Resource Type: sensu_cluster_member

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

Summary

Manages Sensu cluster members

Overview

Autorequires:

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

Examples:

Add a cluster member

sensu_cluster_member { 'backend2':
  ensure    => 'present',
  peer_urls => ['http://192.168.52.12:2380'],
}

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • peer_urls

    Array of cluster peer URLs

Parameters

  • id

    Cluster member ID - read-only

  • name (namevar)

    The name of the cluster member.

  • provider

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