summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2012-12-27 09:11:53 +0100
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2012-12-27 09:11:53 +0100
commit8c756b45ea391dd53a6f2d83a460e92d27caab96 (patch)
tree49b0df18d922acd889b3db553d8417cbbe793256 /manifests
parentbd9717b02fde8a3eab1675e1fdf62c015d2e537f (diff)
Ensure Augeas ruby lib is for 1.9.1 on wheezy
Diffstat (limited to 'manifests')
-rw-r--r--manifests/debian.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index a56d8f0..bc2e3eb 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -6,7 +6,12 @@ class augeas::debian inherits augeas::base {
before => File['/usr/share/augeas/lenses'],
}
- package {'libaugeas-ruby1.8':
+ $augeas_ruby = $::lsbdistcodename ? {
+ 'wheezy' => 'libaugeas-ruby1.9.1',
+ default => 'libaugeas-ruby1.8',
+ }
+
+ package {$augeas_ruby:
ensure => $augeas::base::rubylib_version,
}