From d9ff14f6fd3bf9acb6538d414e8d4ee31a99b19b Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 28 Apr 2017 17:29:07 -0400 Subject: [PATCH] Add paho-mqtt install if we turn mqtt on We need the python mqtt library if want to use the mqtt callback plugin. This commit ensures we actually install it. Change-Id: Ic9b3fd12bd2e8bdffc62f9b6d227c2a67a10eeb7 --- modules/openstack_project/manifests/puppetmaster.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/openstack_project/manifests/puppetmaster.pp b/modules/openstack_project/manifests/puppetmaster.pp index 3c15ffad20..9047fe6f95 100644 --- a/modules/openstack_project/manifests/puppetmaster.pp +++ b/modules/openstack_project/manifests/puppetmaster.pp @@ -364,6 +364,12 @@ class openstack_project::puppetmaster ( notify => Exec['expand_groups'], } if $enable_mqtt { + package {'paho-mqtt': + ensure => latest, + provider => openstack_pip, + require => Class['pip'], + } + file { '/etc/mqtt_ca_cert.pem.crt': ensure => present, content => $mqtt_ca_cert_contents,