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

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

Issue 29354719: Issue 4458 - Update dependencies for updateUpdateManifests script (Closed) Base URL: https://hg.adblockplus.org/infrastructure
Patch Set: Created Sept. 22, 2016, 8:19 a.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 updateserver( 1 class updateserver(
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 class {'nginx': 7 class {'nginx':
8 worker_connections => 4000, 8 worker_connections => 4000,
9 ssl_session_cache => off, 9 ssl_session_cache => off,
10 } 10 }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 fetch_repository {$repositories_to_sync: } 91 fetch_repository {$repositories_to_sync: }
92 92
93 $update_update_manifests_script = '/usr/local/bin/update_update_manifests' 93 $update_update_manifests_script = '/usr/local/bin/update_update_manifests'
94 94
95 file {$update_update_manifests_script: 95 file {$update_update_manifests_script:
96 mode => '0755', 96 mode => '0755',
97 content => template('updateserver/update_update_manifests.erb') 97 content => template('updateserver/update_update_manifests.erb')
98 } 98 }
99 99
100 $update_update_manifests_dependencies = ['python-m2crypto', 'python-jinja2'] 100 $update_update_manifests_dependencies = ['python-crypto', 'python-jinja2']
101 101
102 package {$update_update_manifests_dependencies:} 102 package {$update_update_manifests_dependencies:}
103 103
104 exec {'update_update_manifests': 104 exec {'update_update_manifests':
105 command => $update_update_manifests_script, 105 command => $update_update_manifests_script,
106 user => 'sitescripts', 106 user => 'sitescripts',
107 timeout => 0, 107 timeout => 0,
108 require => [Class['sitescripts'], 108 require => [Class['sitescripts'],
109 Fetch_repository[$repositories_to_sync], 109 Fetch_repository[$repositories_to_sync],
110 File[$update_update_manifests_script], 110 File[$update_update_manifests_script],
(...skipping 19 matching lines...) Expand all
130 socket => '/tmp/multiplexer-fastcgi.sock', 130 socket => '/tmp/multiplexer-fastcgi.sock',
131 mode => '0666', 131 mode => '0666',
132 user => 'nginx', 132 user => 'nginx',
133 children => 1, 133 children => 1,
134 require => [ 134 require => [
135 Class["sitescripts"], 135 Class["sitescripts"],
136 Package["python-flup"], 136 Package["python-flup"],
137 ], 137 ],
138 } 138 }
139 } 139 }
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