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

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

Issue 29328647: Issue 3115 - Cache hgweb RSS and Atom logs (Closed)
Patch Set: Created Sept. 25, 2015, 2:26 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 | modules/hgweb/templates/nginx.conf.erb » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # == Class: hgweb 1 # == Class: hgweb
2 # 2 #
3 # A hgweb server setup. 3 # A hgweb server setup.
4 # 4 #
5 # === Parameters: 5 # === Parameters:
6 # 6 #
7 # [*domain*] 7 # [*domain*]
8 # The auhority part of the URL the instance is associated with. 8 # The auhority part of the URL the instance is associated with.
9 # 9 #
10 # [*is_default*] 10 # [*is_default*]
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 subscribe => File['/etc/hgweb.ini'], 167 subscribe => File['/etc/hgweb.ini'],
168 } 168 }
169 169
170 nginx::hostconfig {$domain: 170 nginx::hostconfig {$domain:
171 certificate => $certificate ? { 171 certificate => $certificate ? {
172 'undef' => undef, 172 'undef' => undef,
173 default => $certificate, 173 default => $certificate,
174 }, 174 },
175 content => template('hgweb/nginx.conf.erb'), 175 content => template('hgweb/nginx.conf.erb'),
176 is_default => $is_default, 176 is_default => $is_default,
177 global_config => template('hgweb/nginx_global.conf.erb'),
177 log => 'access_log_hg', 178 log => 'access_log_hg',
178 private_key => $private_key ? { 179 private_key => $private_key ? {
179 'undef' => undef, 180 'undef' => undef,
180 default => $private_key, 181 default => $private_key,
181 }, 182 },
182 } 183 }
183 } 184 }
OLDNEW
« no previous file with comments | « no previous file | modules/hgweb/templates/nginx.conf.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld