| LEFT | RIGHT | 
|---|
| 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 | 
|  | 8   include adblockplus::web | 
| 7 | 9 | 
| 8   class {'nginx': | 10   class {'nginx': | 
| 9     worker_connections => 4000, | 11     worker_connections => 4000, | 
| 10     ssl_session_cache => off, | 12     ssl_session_cache => off, | 
| 11   } | 13   } | 
| 12 | 14 | 
| 13   class {'sitescripts': | 15   class {'sitescripts': | 
| 14     sitescriptsini_source => 'puppet:///modules/downloadserver/sitescripts', | 16     sitescriptsini_source => 'puppet:///modules/downloadserver/sitescripts', | 
| 15   } | 17   } | 
| 16 | 18 | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 28       Class['sitescripts'], | 30       Class['sitescripts'], | 
| 29       Package['python-jinja2'], | 31       Package['python-jinja2'], | 
| 30     ], | 32     ], | 
| 31   } | 33   } | 
| 32 | 34 | 
| 33   user {'hg': | 35   user {'hg': | 
| 34     ensure => present, | 36     ensure => present, | 
| 35     comment => 'Mercurial client user', | 37     comment => 'Mercurial client user', | 
| 36     home => '/home/hg', | 38     home => '/home/hg', | 
| 37     managehome => true | 39     managehome => true | 
| 38   } |  | 
| 39 |  | 
| 40   class {'adblockplus::web': |  | 
| 41     directory => { |  | 
| 42       owner => 'hg', |  | 
| 43       mode => '0644', |  | 
| 44     } |  | 
| 45   } | 40   } | 
| 46 | 41 | 
| 47   exec { "fetch_downloads": | 42   exec { "fetch_downloads": | 
| 48     command => "hg clone https://hg.adblockplus.org/downloads /var/www/downloads
     ", | 43     command => "hg clone https://hg.adblockplus.org/downloads /var/www/downloads
     ", | 
| 49     path => ["/usr/bin/", "/bin/"], | 44     path => ["/usr/bin/", "/bin/"], | 
| 50     require => Package['mercurial'], | 45     require => Package['mercurial'], | 
| 51     user => hg, | 46     user => hg, | 
| 52     timeout => 0, | 47     timeout => 0, | 
| 53     onlyif => "test ! -d /var/www/downloads" | 48     onlyif => "test ! -d /var/www/downloads" | 
| 54   } | 49   } | 
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 117     ensure => present, | 112     ensure => present, | 
| 118     require => [File['/home/rsync/.ssh/id_rsa'], | 113     require => [File['/home/rsync/.ssh/id_rsa'], | 
| 119                 File['/var/www/devbuilds']], | 114                 File['/var/www/devbuilds']], | 
| 120     command => 'rsync -e ssh -ltprz --delete devbuilds@server16.adblockplus.org:
     . /var/www/devbuilds', | 115     command => 'rsync -e ssh -ltprz --delete devbuilds@server16.adblockplus.org:
     . /var/www/devbuilds', | 
| 121     environment => hiera('cron::environment', []), | 116     environment => hiera('cron::environment', []), | 
| 122     user => rsync, | 117     user => rsync, | 
| 123     hour => '*', | 118     hour => '*', | 
| 124     minute => '4-54/10' | 119     minute => '4-54/10' | 
| 125   } | 120   } | 
| 126 } | 121 } | 
| LEFT | RIGHT | 
|---|