]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/manifests/security_mirror.pp
add cache headers to security
[dsa-puppet.git] / modules / roles / manifests / security_mirror.pp
index 13cba753058b848c2763374e74652204cc0c2131..0bad766f5c08ac85fbdc5a947396df8864a89342 100644 (file)
@@ -1,11 +1,20 @@
 class roles::security_mirror {
 
+       include apache2::cache
        apache2::site { '010-security.debian.org':
                site   => 'security.debian.org',
-               config => 'puppet:///modules/roles/security_mirror/security.debian.org'
+               source => 'puppet:///modules/roles/security_mirror/security.debian.org'
        }
 
-       apache2::site { 'security.debian.org':
-               ensure => absent,
+       vsftpd::site { 'security':
+               banner       => 'security.debian.org FTP server (vsftpd)',
+               logfile      => '/var/log/ftp/vsftpd-security.debian.org.log',
+               max_clients  => 200,
+               root         => '/srv/ftp.root/',
+       }
+
+       rsync::site { 'security':
+               source      => 'puppet:///modules/roles/security_mirror/rsyncd.conf',
+               max_clients => 100,
        }
 }