summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Pinson <github+aem1eeshi1@raphink.net>2016-05-02 17:02:57 +0200
committerRaphaël Pinson <github+aem1eeshi1@raphink.net>2016-05-02 17:02:57 +0200
commit7cb0483e052eb338d3f63e222f56375f204c0a8d (patch)
treeab7dc1bdb33cc4d4dd74d8e898e4018eba322d2b
parentb81fbe0eccd799083b3039a4fa8d079c816f0989 (diff)
parente3704016003bac7c775b15c2b936b47f2a7b79a0 (diff)
Merge pull request #59 from jostmart/master
ruby-augeas instead of libaugeas-ruby
-rw-r--r--manifests/params.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
index dc64f9c..0ae3feb 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -36,7 +36,10 @@ class augeas::params {
}
'Debian': {
- if versioncmp($::rubyversion, '1.9.1') >= 0 {
+ if versioncmp($::rubyversion, '2.1.0') >= 0 {
+ $ruby_pkg = 'ruby-augeas'
+ }
+ elsif versioncmp($::rubyversion, '1.9.1') >= 0 {
$ruby_pkg = 'libaugeas-ruby1.9.1'
} else {
$ruby_pkg = 'libaugeas-ruby1.8'