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 "/etc/cron.d/puppet-static-mirror":
18 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",
21 #"/etc/apache2/sites-available/dist.torproject.org":
22 # source => "puppet:///modules/roles/static-mirroring/vhost/dist.torproject.org",
23 # require => Package["apache2"],
24 # notify => Exec["reload-apache2"],
26 #"/etc/apache2/sites-available/www.torproject.org":
27 # source => "puppet:///modules/roles/static-mirroring/vhost/www.torproject.org",
28 # require => Package["apache2"],
29 # notify => Exec["reload-apache2"],
33 #apache2::activate_apache_site {
34 # "10-dist.torproject.org":
35 # site => "dist.torproject.org",
36 # require => File['/etc/ssl/certs/apache-wildcard.torproject.org.pem'];
37 # "10-www.torproject.org":
38 # site => "www.torproject.org",
39 # require => File['/etc/ssl/certs/apache-wildcard.torproject.org.pem'];
44 # vim:set shiftwidth=4: