aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-18 15:37:43 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-18 15:37:43 -0200
commit12afa8766bce93dde9e64cc3604132b798da33ae (patch)
tree35e110e9c904e498926cfa60ec068dc7b59ed6bf /manifests/subsystems
parent0c8e47383df3e3231755de16ded66244be7f9ef8 (diff)
downloadpuppet-nodo-12afa8766bce93dde9e64cc3604132b798da33ae.tar.gz
puppet-nodo-12afa8766bce93dde9e64cc3604132b798da33ae.tar.bz2
Ensure we have the minimum augeas version required by shorewall module (2)
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/utils.pp17
1 files 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'];
}
}