From 5afe23f2b5049b440294a0d12da03e4f963c43ee Mon Sep 17 00:00:00 2001 From: "Eric D. Helms" Date: Fri, 4 Sep 2015 16:46:47 -0400 Subject: [PATCH] Use qpid::tools class Switches to using qpid::tools class instead of ensuring package directly to prevent duplicate resource errors --- manifests/broker.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/broker.pp b/manifests/broker.pp index 4b7cd819..3821218e 100644 --- a/manifests/broker.pp +++ b/manifests/broker.pp @@ -15,7 +15,9 @@ Service[$broker_service] -> Exec['migrate_pulp_db'] } else { if $pulp::messaging_transport == 'qpid' { - package { 'qpid-tools': ensure => installed } -> Class['pulp::service'] + include ::qpid::tools + + Class['qpid::tools'] -> Class['pulp::service'] } } }