From b0dee2a61ec45fc0210da9266f1e2553b19bbc0f Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 18 Jul 2013 14:36:28 -0400 Subject: [PATCH] Ensure asterisknow-version is installed before asterisk Change-Id: Ied523d40c9ec670f6ca1d0ca30adaa59b489e784 --- modules/asterisk/manifests/init.pp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/asterisk/manifests/init.pp b/modules/asterisk/manifests/init.pp index c7fe8b62ec..531571bd04 100644 --- a/modules/asterisk/manifests/init.pp +++ b/modules/asterisk/manifests/init.pp @@ -32,9 +32,19 @@ class asterisk ( require => Yumrepo['asteriskcurrent'], } + package { 'asterisknow-version' : + ensure => present, + require => [ + Yumrepo['asteriskcurrent'], + ], + } + package { 'asterisk' : ensure => present, - require => Yumrepo['asterisk11'], + require => [ + Yumrepo['asterisk11'], + Package['asterisknow-version'], + ], } package { 'asterisk-sounds-moh-opsound-ulaw' :