Resource Type: rabbitmq_user

Defined in:
lib/puppet/type/rabbitmq_user.rb
Providers:
rabbitmqctl

Overview

Native type for managing rabbitmq users

Examples:

query all current users

$ puppet resource rabbitmq_user

Configure a user, dan

rabbitmq_user { 'dan':
  admin    => true,
  password => 'bar',
}

Optional parameter tags will set further rabbitmq tags like monitoring, policymaker, etc.

To set the administrator tag use admin-flag.
rabbitmq_user { 'dan':
  admin    => true,
  password => 'bar',
  tags     => ['monitoring', 'tag1'],
}

Properties

  • admin (defaults to: false)

    whether or not user should be an admin

    Supported values:
    • %r{true|false}
  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • password

    User password to be set *on creation* and validated each run

  • tags (defaults to: [])

    additional tags for the user

Parameters

  • name (namevar)

    Name of user

    Supported values:
    • %r{^\S+$}
  • provider

    The specific backend to use for this ‘rabbitmq_user` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.