aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-18 15:31:27 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-18 15:31:27 -0200
commit0c8e47383df3e3231755de16ded66244be7f9ef8 (patch)
tree7f698efa7619939a482516fc9ab7d217f8ede3c2
parenta7cbb0a0e2136d466efc63a422cb7528d082cc3a (diff)
downloadpuppet-nodo-0c8e47383df3e3231755de16ded66244be7f9ef8.tar.gz
puppet-nodo-0c8e47383df3e3231755de16ded66244be7f9ef8.tar.bz2
Ensure we have the minimum augeas version required by shorewall module
-rw-r--r--manifests/subsystems/utils.pp7
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/subsystems/utils.pp b/manifests/subsystems/utils.pp
index 602de6f..fd5d2b9 100644
--- a/manifests/subsystems/utils.pp
+++ b/manifests/subsystems/utils.pp
@@ -19,8 +19,11 @@ class utils {
group => root,
}
- # Ensure we have the latest augeas as required by shorewall module
+ # Ensure we have the minimum augeas version required by shorewall module
package { 'augeas-tools':
- ensure => latest,
+ ensure => $lsbdistcodename ? {
+ 'squeeze' => '0.10.0-1~bpo60+3',
+ default => installed,
+ }
}
}