]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/hardware/manifests/raid/megactl.pp
reorder hardware modules
[dsa-puppet.git] / modules / hardware / manifests / raid / megactl.pp
diff --git a/modules/hardware/manifests/raid/megactl.pp b/modules/hardware/manifests/raid/megactl.pp
new file mode 100644 (file)
index 0000000..9c7ec4b
--- /dev/null
@@ -0,0 +1,16 @@
+class hardware::raid::megactl {
+
+       package { 'megactl':
+               ensure => installed,
+               require => [
+                       File['/etc/apt/sources.list.d/debian.restricted.list'],
+                       Exec['apt-get update']
+               ]
+       }
+
+       site::aptrepo { 'debian.restricted':
+               url        => 'http://db.debian.org/debian-admin',
+               suite      => 'lenny-restricted',
+               components => 'non-free',
+       }
+}