no need to install rubygems anymore
authormh <mh@immerda.ch>
Fri, 8 Jan 2016 12:42:38 +0000 (13:42 +0100)
committermh <mh@immerda.ch>
Fri, 8 Jan 2016 12:42:38 +0000 (13:42 +0100)
manifests/init.pp

index 678bd54..0585994 100644 (file)
 #
 
 class rubygems {
-  package{'rubygems':
-    ensure => installed,
+  # from debian 8 on this is not anymore needed
+  if ($::operatingsystem != 'Debian') or (versioncmp($::operatingsystemmajrelease,'8') < 0) {
+    package{'rubygems':
+      ensure => installed,
+    }
   }
 }