make it el7 ready
authormh <mh@immerda.ch>
Sun, 28 Dec 2014 12:15:36 +0000 (13:15 +0100)
committermh <mh@immerda.ch>
Sun, 28 Dec 2014 12:15:36 +0000 (13:15 +0100)
manifests/xmlsimple.pp

index 0e3e3a8..1819f77 100644 (file)
@@ -1,3 +1,4 @@
+# xml simple lib
 class rubygems::xmlsimple {
   package{'rubygem-xml-simple':
     ensure => present,
@@ -9,4 +10,11 @@ class rubygems::xmlsimple {
       }
     }
   }
+  if $::operatingsystem == 'CentOS' and $::operatingsystemmajrelease > 6 {
+    # not yet packaged
+    Package['rubygem-xml-simple']{
+      name     => 'xml-simple',
+      provider => gem,
+    }
+  }
 }