Resource Type: sensu_namespace

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

Summary

Manages Sensu namespaces

Overview

Autorequires:

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

Examples:

Add an namespace

sensu_namespace { 'test':
  ensure => 'present',
}

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • name (namevar)

    The name of the namespace.

  • provider

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