summaryrefslogtreecommitdiff
path: root/manifests/base.pp
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2012-04-05 17:05:40 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2012-04-05 17:09:18 +0200
commit1e52552f1f34768afc2e34466dc737099fd38db9 (patch)
tree5c98bd9bac897ea3de5b04765bd155c3d533e3ef /manifests/base.pp
parent613aaefb99961b714cb322754a647442790f90f0 (diff)
Also put $augeas::ruby_version into augeas::base
Diffstat (limited to 'manifests/base.pp')
-rw-r--r--manifests/base.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 3f75ad6..85b8c12 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -6,6 +6,11 @@ class augeas::base {
default => $augeas_version
}
+ $rubylib_version = $augeas_ruby_version ? {
+ '' => 'present',
+ default => $augeas_ruby_version
+ }
+
# ensure no file not managed by puppet ends up in there.
file { $lens_dir:
ensure => directory,