highline: debian/ubuntu package named ruby-highline
authorvarac <varacanero@zeromail.org>
Fri, 26 Oct 2012 16:18:03 +0000 (18:18 +0200)
committervarac <varacanero@zeromail.org>
Fri, 26 Oct 2012 16:18:03 +0000 (18:18 +0200)
manifests/highline.pp

index b8eaa90..c29591c 100644 (file)
@@ -3,4 +3,11 @@ class rubygems::highline {
   package{'rubygem-highline':
     ensure => present,
   }
+
+  case $::operatingsystem {
+    debian,ubuntu: {
+      Package['rubygem-highline']{
+        name => 'ruby-highline'
+    }
+  }
 }