Emilien Macchi 2be3e3f9d2 scenario002: deploy RabbitMQ with SSL
* Manage Puppet OpenStack CI CA and create a common certificate,
  auto-signed.
* Configure RabbitMQ to activate SSL on scenario002
* Configure OpenStack services that run on scenario002 to connect to
  RabbitMQ using SSL protocol.

Change-Id: Ic435078472ba4e0e0eaf04a64e5bcb7aabba7b3d
2016-02-29 14:37:56 -05:00

21 lines
677 B
Puppet

class openstack_integration::cacert {
include ::openstack_integration::params
file { $::openstack_integration::params::cert_path:
ensure => present,
owner => 'root',
group => 'root',
mode => '0444',
source => 'puppet:///modules/openstack_integration/puppet_openstack.pem',
selinux_ignore_defaults => true,
replace => true,
}
exec { 'update-ca-certificates':
command => $::openstack_integration::params::update_ca_certs_cmd,
subscribe => File[$::openstack_integration::params::cert_path],
refreshonly => true,
}
}