diff options
author | Mickaël Canévet <mickael.canevet@camptocamp.com> | 2015-01-21 11:19:27 +0100 |
---|---|---|
committer | Mickaël Canévet <mickael.canevet@camptocamp.com> | 2015-01-21 11:19:27 +0100 |
commit | d2ec4e834074a00ea145070f8a5734a021093db8 (patch) | |
tree | 1acbb7205c68d1671171b1ab3a967cba7625e9bb | |
parent | 55c89116d8ce481240c7e2c45ed70e228b685e2d (diff) | |
parent | a3ec1f11ac51fb6ee220fabc6b3613d3a69ffd42 (diff) |
Merge pull request #42 from poikilotherm/master
Updated package names for SLES
-rw-r--r-- | manifests/params.pp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/params.pp b/manifests/params.pp index 8b8f89c..e540033 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -12,7 +12,14 @@ class augeas::params { } 'Suse': { - $ruby_pkg = 'rubygem-ruby-augeas' + # RPM Sources: https://build.opensuse.org/project/show/systemsmanagement:puppet + # SLES 11 SP3 + if versioncmp($::rubyversion, '1.8.7') >= 0 { + $ruby_pkg = 'ruby1.8-rubygem-ruby-augeas' + # SLES 12 + } else { + $ruby_pkg = 'ruby2.1-rubygem-ruby-augeas' + } $augeas_pkgs = ['augeas', 'augeas-lenses', 'libaugeas0' ] } |