Skip to content

config_additional_variables format incorrect when nested config defined #1040

@jimmybigcommerce

Description

@jimmybigcommerce

Not sure if this is a bug or a feature request, however if an array of values is passed into rabbitmq::config_additional_variables, the config that is generated is invalid.

Example:

Providing this config:

# hiera
rabbitmq::config_additional_variables:
  ra: 
    wal_max_size_bytes: 128000000
    segment_max_entries: 65535

The generated config stanza is:

  {ra, {"wal_max_size_bytes"=>128000000, "segment_max_entries"=>65535}}

however it should be:

{ra, [{segment_max_entries, 65535},{wal_max_size_bytes, 128000000}]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions