megaraid_sas
[mirror/dsa-puppet.git] / modules / hardware / manifests / raid / megaraid_sas.pp
diff --git a/modules/hardware/manifests/raid/megaraid_sas.pp b/modules/hardware/manifests/raid/megaraid_sas.pp
new file mode 100644 (file)
index 0000000..e28918c
--- /dev/null
@@ -0,0 +1,13 @@
+class hardware::raid::dell {
+       if $::megaraid_sas {
+               site::aptrepo { 'debian.restricted':
+                       url        => 'http://db.debian.org/debian-admin',
+                       suite      => 'stretch-restricted',
+                       components => 'non-free',
+               }
+
+               package { 'megacli':
+                       ensure  => installed,
+               }
+       }
+}