OLD | NEW |
1 class downloadserver( | 1 class downloadserver( |
2 $domain, | 2 $domain, |
3 $certificate, | 3 $certificate, |
4 $private_key, | 4 $private_key, |
5 $is_default = false | 5 $is_default = false |
6 ) { | 6 ) { |
7 | 7 |
8 include adblockplus::web | 8 include adblockplus::web |
9 | 9 |
10 class {'nginx': | 10 class {'nginx': |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 ensure => file, | 105 ensure => file, |
106 owner => rsync, | 106 owner => rsync, |
107 mode => '0400', | 107 mode => '0400', |
108 source => 'puppet:///modules/private/rsync@downloads.adblockplus.org.pub' | 108 source => 'puppet:///modules/private/rsync@downloads.adblockplus.org.pub' |
109 } | 109 } |
110 | 110 |
111 cron {'mirror-devbuilds': | 111 cron {'mirror-devbuilds': |
112 ensure => present, | 112 ensure => present, |
113 require => [File['/home/rsync/.ssh/id_rsa'], | 113 require => [File['/home/rsync/.ssh/id_rsa'], |
114 File['/var/www/devbuilds']], | 114 File['/var/www/devbuilds']], |
115 command => 'rsync -e ssh -ltprz --delete devbuilds@server16.adblockplus.org:
. /var/www/devbuilds', | 115 command => 'rsync -e ssh -ltprz --delete devbuilds@buildmaster.adblockplus.o
rg:. /var/www/devbuilds', |
116 environment => hiera('cron::environment', []), | 116 environment => hiera('cron::environment', []), |
117 user => rsync, | 117 user => rsync, |
118 hour => '*', | 118 hour => '*', |
119 minute => '4-54/10' | 119 minute => '4-54/10' |
120 } | 120 } |
121 } | 121 } |
OLD | NEW |