From c1c3e174bd9be11f54b656672906f8f35b6a40a7 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Fri, 18 Mar 2016 11:37:54 -0400 Subject: [PATCH] missing sasl install for debian --- examples/site.pp | 25 +++++++++++++------------ manifests/install.pp | 7 ++++++- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/examples/site.pp b/examples/site.pp index 5252eeb..1c4f41f 100644 --- a/examples/site.pp +++ b/examples/site.pp @@ -6,18 +6,19 @@ node default { } # Create a listener type - qdr_listener { 'GoodListener' : - ensure => present, - addr => '127.0.0.1', - port => '6789', - role => 'normal', - auth_peer => true, - sasl_mechanisms => 'ANONYMOUS,DIGEST-MD5,EXTERNAL,PLAIN', - } +# qdr_listener { 'GoodListener' : +# ensure => present, +# addr => '127.0.0.1', +# port => '6789', +# role => 'normal', +# auth_peer => true, +# sasl_mechanisms => 'ANONYMOUS,DIGEST-MD5,EXTERNAL,PLAIN', +# } # Create a user for sasl db - qdr_user { 'SaslUser' : - ensure => present, - password => 'testpw', - } +# qdr_user { 'SaslUser' : +# ensure => present, +# password => 'testpw', +# file => '/var/lib/qdrouterd/qdrouterd.sasldb', +# } } diff --git a/manifests/install.pp b/manifests/install.pp index 159d8ad..f1304ea 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -37,8 +37,13 @@ class qdr::install inherits qdr { apt::ppa { 'ppa:qpid/testing' : } + package { $sasl_package_list : + ensure => 'installed', + provider => apt, + } + package { 'qdrouterd' : - ensure => 'running', + ensure => 'installed', name => 'qdrouterd', provider => apt }