Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/downloadserver/manifests/init.pp

Issue 29542739: #3540 - Use new host name for getting builds (Closed) Base URL: https://hg1/infrastructure
Patch Set: Created Sept. 12, 2017, 4:12 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld