Resource Type: rabbitmq_erlang_cookie

Defined in:
lib/puppet/type/rabbitmq_erlang_cookie.rb
Providers:
ruby

Overview

Type to manage the rabbitmq erlang cookie securely

This is essentially a private type used by the rabbitmq::config class to manage the erlang cookie. It replaces the rabbitmq_erlang_cookie fact from earlier versions of this module. It manages the content of the cookie usually located at “$rabbitmq_home/.erlang.cookie”, which includes stopping the rabbitmq service and wiping out the database at “$rabbitmq_home/mnesia” if the user agrees to it. We don’t recommend using this type directly.

Properties

  • content

    Content of cookie

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

Parameters

  • force (defaults to: false)
    Supported values:
    • true
    • false
  • path
  • provider

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

  • rabbitmq_group (defaults to: rabbitmq)
  • rabbitmq_home (defaults to: /var/lib/rabbitmq)
  • rabbitmq_user (defaults to: rabbitmq)
  • service_name
    Supported values:
    • %r{^\S+$}