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

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

Issue 29321002: Issue 2713 - Move Nginx setup from module "rietveld" to module "codereview" (Closed)
Patch Set: Created June 23, 2015, 7:52 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 | « modules/codereview/files/site.conf ('k') | modules/rietveld/files/site.conf » ('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: codereview 1 # == Class: codereview
2 # 2 #
3 # A codereview server setup based on Rietveld. 3 # A codereview server setup based on Rietveld.
4 # 4 #
5 # === Parameters: 5 # === Parameters:
6 # 6 #
7 # [*domain*] 7 # [*domain*]
8 # The auhority part of the URL the Rietveld instance is associated with. 8 # The auhority part of the URL the Rietveld instance is associated with.
9 # 9 #
10 # [*is_default*] 10 # [*is_default*]
(...skipping 14 matching lines...) Expand all
25 # domain => 'localhost', 25 # domain => 'localhost',
26 # } 26 # }
27 # 27 #
28 class codereview( 28 class codereview(
29 $domain, 29 $domain,
30 $is_default = false, 30 $is_default = false,
31 $certificate = undef, 31 $certificate = undef,
32 $private_key = undef, 32 $private_key = undef,
33 ) { 33 ) {
34 34
35 class {'rietveld': 35 include nginx, rietveld
36 domain => $domain, 36
37 nginx::hostconfig {$domain:
38 source => 'puppet:///modules/codereview/site.conf',
39 is_default => $is_default,
37 certificate => $certificate, 40 certificate => $certificate,
38 private_key => $private_key, 41 private_key => $private_key,
39 is_default => $is_default, 42 log => 'access_log_codereview'
40 } 43 }
41
42 } 44 }
OLDNEW
« no previous file with comments | « modules/codereview/files/site.conf ('k') | modules/rietveld/files/site.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld