1 class roles::static_mirror inherits roles::static_base {
3 '/etc/ssh/userkeys/staticsync':
4 content => template('roles/static-mirror-authorized_keys.erb'),
6 '/usr/local/bin/static-mirror-run':
7 source => "puppet:///modules/roles/static-mirroring/static-mirror-run",
10 '/usr/local/bin/static-mirror-ssh-wrap':
11 source => "puppet:///modules/roles/static-mirroring/static-mirror-ssh-wrap",
17 "/srv/static.debian.org":
23 "/etc/cron.d/puppet-static-mirror":
24 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",
27 #"/etc/apache2/sites-available/dist.torproject.org":
28 # source => "puppet:///modules/roles/static-mirroring/vhost/dist.torproject.org",
29 # require => Package["apache2"],
30 # notify => Exec["reload-apache2"],
32 #"/etc/apache2/sites-available/www.torproject.org":
33 # source => "puppet:///modules/roles/static-mirroring/vhost/www.torproject.org",
34 # require => Package["apache2"],
35 # notify => Exec["reload-apache2"],
39 #apache2::activate_apache_site {
40 # "10-dist.torproject.org":
41 # site => "dist.torproject.org",
42 # require => File['/etc/ssl/certs/apache-wildcard.torproject.org.pem'];
43 # "10-www.torproject.org":
44 # site => "www.torproject.org",
45 # require => File['/etc/ssl/certs/apache-wildcard.torproject.org.pem'];
50 # vim:set shiftwidth=4: