From 12afa8766bce93dde9e64cc3604132b798da33ae Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 18 Jan 2013 15:37:43 -0200 Subject: Ensure we have the minimum augeas version required by shorewall module (2) --- manifests/subsystems/utils.pp | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/manifests/subsystems/utils.pp b/manifests/subsystems/utils.pp index fd5d2b9..ae21adb 100644 --- a/manifests/subsystems/utils.pp +++ b/manifests/subsystems/utils.pp @@ -20,10 +20,17 @@ class utils { } # Ensure we have the minimum augeas version required by shorewall module - package { 'augeas-tools': - ensure => $lsbdistcodename ? { - 'squeeze' => '0.10.0-1~bpo60+3', - default => installed, - } + package { + 'libaugeas0': + ensure => $lsbdistcodename ? { + 'squeeze' => '0.10.0-1~bpo60+3', + default => installed, + }; + 'augeas-tools': + ensure => $lsbdistcodename ? { + 'squeeze' => '0.10.0-1~bpo60+3', + default => installed, + }, + require => Package['libaugeas0']; } } -- cgit v1.2.3