OLD | NEW |
1 class downloadserver { | 1 class downloadserver { |
2 user {'stats': | 2 user {'stats': |
3 ensure => present, | 3 ensure => present, |
4 home => '/home/stats', | 4 home => '/home/stats', |
5 managehome => true | 5 managehome => true |
6 } | 6 } |
7 | 7 |
8 file {'/home/stats/.ssh': | 8 file {'/home/stats/.ssh': |
9 ensure => directory, | 9 ensure => directory, |
10 owner => stats, | 10 owner => stats, |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 owner => rsync, | 134 owner => rsync, |
135 mode => 0400, | 135 mode => 0400, |
136 source => 'puppet:///modules/private/rsync@downloads.adblockplus.org.pub' | 136 source => 'puppet:///modules/private/rsync@downloads.adblockplus.org.pub' |
137 } | 137 } |
138 | 138 |
139 cron {'mirror-devbuilds': | 139 cron {'mirror-devbuilds': |
140 ensure => present, | 140 ensure => present, |
141 require => [File['/home/rsync/.ssh/known_hosts'], | 141 require => [File['/home/rsync/.ssh/known_hosts'], |
142 File['/home/rsync/.ssh/id_rsa'], | 142 File['/home/rsync/.ssh/id_rsa'], |
143 File['/var/www/devbuilds']], | 143 File['/var/www/devbuilds']], |
144 command => 'rsync -e ssh -ltprz devbuilds@adblockplus.org:. /var/www/devbuil
ds', | 144 command => 'rsync -e ssh -ltprz devbuilds@ssh.adblockplus.org:. /var/www/dev
builds', |
145 user => rsync, | 145 user => rsync, |
146 hour => '*', | 146 hour => '*', |
147 minute => '4-54/10' | 147 minute => '4-54/10' |
148 } | 148 } |
149 } | 149 } |
OLD | NEW |