summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 545e012..85936e9 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,5 +1,10 @@
class augeas {
+ $rubylib_version = $augeas_ruby_version ? {
+ '' => 'present',
+ default => $augeas_ruby_version
+ }
+
case $operatingsystem {
/RedHat|CentOS|Fedora/: { include augeas::redhat }
/Debian|Ubuntu|kFreeBSD/: { include augeas::debian }