sensu/sensu-chef

Wrong quotes in additional_rabbit_configs for arrays

Closed this issue · 1 comments

I am configuring PKI for RabbitMQ, I need to add the following to my attributes to make it work:

default['rabbitmq']['additional_rabbit_configs'] = {
  'auth_mechanisms' => %w[EXTERNAL],
  'ssl_cert_login_from' => 'common_name'
}

I think for Erlang it is important to have single quotes. With double quotes in my config file I cannot establish the connection.

Expected Behavior

,{auth_mechanisms, ['EXTERNAL']}
,{ssl_cert_login_from, common_name}

Current Behavior

,{auth_mechanisms, ["EXTERNAL"]}
,{ssl_cert_login_from, common_name}

Your Environment

  • Version of this cookbook used: 5.2.0
  • Version of Sensu used: 1.0.2-1
  • Version of Chef used: 12.20.3
  • Operating System and version: Debian 8.9

Sorry, wrong cookbook.