sensu / sensu-chef

Sensu Chef cookbook.
https://supermarket.chef.io/cookbooks/sensu
Apache License 2.0
222 stars 280 forks source link

Wrong quotes in additional_rabbit_configs for arrays #579

Closed sekrett closed 6 years ago

sekrett commented 6 years ago

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

sekrett commented 6 years ago

Sorry, wrong cookbook.