From 4182ed4d9a42aa05d62aaa3b8c70258407b12a28 Mon Sep 17 00:00:00 2001
From: Arnaud Gomes <Arnaud.Gomes@ircam.fr>
Date: Mon, 8 Apr 2013 17:00:39 +0200
Subject: [PATCH] Support for RHEL and clones.

---
 manifests/init.pp | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/manifests/init.pp b/manifests/init.pp
index 40e8a46..c2e537d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -25,5 +25,15 @@
 #
 class zfs {
 
+  if $operatingsystem in ['redhat', 'centos', 'scientific'] {
+    package { 'zfs-release':
+      ensure   => present,
+      provider => rpm,
+      source   => 'http://archive.zfsonlinux.org/epel/zfs-release-1-2.el6.noarch.rpm',
+    } ->
+    package { 'zfs':
+      ensure => present,
+    }
+  }
 
 }
-- 
GitLab