OLD | NEW |
1 class web::server($vhost, $repository, $multiplexer_locations = undef) { | 1 class web::server( |
| 2 $vhost, |
| 3 $repository, |
| 4 $is_default = false, |
| 5 $aliases = undef, |
| 6 $custom_config = undef, |
| 7 $multiplexer_locations = undef) { |
2 File { | 8 File { |
3 owner => 'root', | 9 owner => 'root', |
4 group => 'root', | 10 group => 'root', |
5 mode => 0644, | 11 mode => 0644, |
6 } | 12 } |
7 | 13 |
8 Cron { | 14 Cron { |
9 environment => ['MAILTO=admin@adblockplus.org', 'PYTHONPATH=/opt/sitescripts
'], | 15 environment => ['MAILTO=admin@adblockplus.org', 'PYTHONPATH=/opt/sitescripts
'], |
10 } | 16 } |
11 | 17 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 mode => 755, | 88 mode => 755, |
83 } | 89 } |
84 | 90 |
85 cron {'update_repo': | 91 cron {'update_repo': |
86 ensure => present, | 92 ensure => present, |
87 command => "hg pull -q -R /home/www/${repository} && python -m sitescripts.c
ms.bin.generate_static_pages /home/www/${repository} /var/www/${vhost}", | 93 command => "hg pull -q -R /home/www/${repository} && python -m sitescripts.c
ms.bin.generate_static_pages /home/www/${repository} /var/www/${vhost}", |
88 user => www, | 94 user => www, |
89 minute => '*/10', | 95 minute => '*/10', |
90 } | 96 } |
91 } | 97 } |
OLD | NEW |