LEFT | RIGHT |
1 class web::server( | 1 class web::server( |
2 $vhost, | 2 $vhost, |
3 $repository, | 3 $repository, |
4 $certificate = hiera('web::server::certificate', 'undef'), | 4 $certificate = hiera('web::server::certificate', 'undef'), |
5 $private_key = hiera('web::server::private_key', 'undef'), | 5 $private_key = hiera('web::server::private_key', 'undef'), |
6 $is_default = false, | 6 $is_default = false, |
7 $aliases = undef, | 7 $aliases = undef, |
8 $custom_config = undef, | 8 $custom_config = undef, |
9 $multiplexer_locations = undef, | 9 $multiplexer_locations = undef, |
10 $geoip = false, | 10 $geoip = false, |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 "/var/www/docs", | 125 "/var/www/docs", |
126 ]: | 126 ]: |
127 ensure => directory, | 127 ensure => directory, |
128 owner => www, | 128 owner => www, |
129 mode => 755, | 129 mode => 755, |
130 } | 130 } |
131 | 131 |
132 cron {'update_cms': | 132 cron {'update_cms': |
133 ensure => present, | 133 ensure => present, |
134 command => "hg pull -q -u -R /opt/cms", | 134 command => "hg pull -q -u -R /opt/cms", |
135 minute => '5-55/20', | 135 minute => '4-59/20', |
136 } | 136 } |
137 | 137 |
138 cron {'update_repo': | 138 cron {'update_repo': |
139 ensure => present, | 139 ensure => present, |
140 command => "hg pull -q -R /home/www/${repository} && python -m cms.bin.gener
ate_static_pages /home/www/${repository} /var/www/${vhost}", | 140 command => "hg pull -q -R /home/www/${repository} && python -m cms.bin.gener
ate_static_pages /home/www/${repository} /var/www/${vhost}", |
141 user => www, | 141 user => www, |
142 minute => '*/10', | 142 minute => '5-59/20', |
143 } | 143 } |
144 | 144 |
145 } | 145 } |
LEFT | RIGHT |