rabbitMQ puppet module - deploy ssl certificate

44 views
Skip to first unread message

Romgo

unread,
Feb 10, 2017, 6:26:02 AM2/10/17
to Puppet Users
Hello,

I am using the rabbitmq puppet module from https://forge.puppet.com/puppetlabs/rabbitmq/readme

I want to enable the ssl configuration for the management port.
So the declaration is like this :

  ssl_key                    => '/etc/rabbitmq/ssl/key.pem',
  ssl_cert                    => '/etc/rabbitmq/ssl/cert.pem',
  ssl_ca                   => '/etc/rabbitmq/ssl/ca.pem',

But I want this module to deploy those file ca.pem cert.pem and key.pem
The code doesn't seems to be able to do this.

I though that modifying the code of puppet modules wasn't a good idea (for upgrade).
How do you deal with that kind of issues ?

Regards

Andrew Grimberg

unread,
Feb 10, 2017, 1:15:35 PM2/10/17
to puppet...@googlegroups.com
Greetings Romgo,

You're correct that modifying the code of the module isn't the proper
way to get the certificates to the systems. This is something that
should be part of your profile definition, which is part of _your_
business logic, that is in turn what is then calling the rabbitmq module.

-Andy-

signature.asc
Reply all
Reply to author
Forward
0 new messages