puppetmaster is more important than handel
[mirror/dsa-puppet.git] / modules / megactl / manifests / init.pp
index 3c37663..252b418 100644 (file)
@@ -1,9 +1,15 @@
 class megactl {
        package { 'megactl':
-               ensure => installed
+               ensure => installed,
+               require => [
+                       File['/etc/apt/sources.list.d/debian.restricted.list'],
+                       Exec['apt-get update']
+               ]
        }
 
        site::aptrepo { 'debian.restricted':
-               template => 'debian-org/etc/apt/sources.list.d/debian.restricted.list.erb',
+               url        => 'http://db.debian.org/debian-admin',
+               suite      => 'lenny-restricted',
+               components => 'non-free',
        }
 }