1 class roles::static_mirror inherits roles::static_source {
4 package { 'libapache2-mod-macro':
8 apache2::module { 'macro': require => Package['libapache2-mod-macro']; }
9 apache2::module { 'rewrite': }
10 apache2::module { 'expires': }
13 '/usr/local/bin/static-mirror-run':
14 source => "puppet:///modules/roles/static-mirroring/static-mirror-run",
18 "/srv/static.debian.org":
24 "/etc/cron.d/puppet-static-mirror":
25 content => "PATH=/usr/local/bin:/usr/bin:/bin\n@reboot staticsync sleep 60; static-mirror-run --one-stage /srv/static.debian.org bizet.debian.org:-live- > /dev/null\n",
31 '/etc/apache2/inc/static-mirror-vhost':
32 content => template('roles/static-mirroring/apache-inc-static-mirror-vhost.erb'),
36 apache2::site { '010-planet.debian.org':
37 site => 'planet.debian.org',
38 source => 'puppet:///modules/roles/static-mirroring/vhost/planet.debian.org',
43 # vim:set shiftwidth=4: