1 class roles::static_mirror inherits roles::static_source {
3 '/usr/local/bin/static-mirror-run':
4 source => "puppet:///modules/roles/static-mirroring/static-mirror-run",
8 "/srv/static.debian.org":
14 "/etc/cron.d/puppet-static-mirror":
15 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",
18 #"/etc/apache2/sites-available/dist.torproject.org":
19 # source => "puppet:///modules/roles/static-mirroring/vhost/dist.torproject.org",
20 # require => Package["apache2"],
21 # notify => Exec["reload-apache2"],
23 #"/etc/apache2/sites-available/www.torproject.org":
24 # source => "puppet:///modules/roles/static-mirroring/vhost/www.torproject.org",
25 # require => Package["apache2"],
26 # notify => Exec["reload-apache2"],
30 #apache2::activate_apache_site {
31 # "10-dist.torproject.org":
32 # site => "dist.torproject.org",
33 # require => File['/etc/ssl/certs/apache-wildcard.torproject.org.pem'];
34 # "10-www.torproject.org":
35 # site => "www.torproject.org",
36 # require => File['/etc/ssl/certs/apache-wildcard.torproject.org.pem'];
41 # vim:set shiftwidth=4: