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

Unified 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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/codereview/files/site.conf ('k') | modules/rietveld/files/site.conf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/codereview/manifests/init.pp
diff --git a/modules/codereview/manifests/init.pp b/modules/codereview/manifests/init.pp
index 3188b39eff06ad2068ca8965bc76df0ebcf39834..f4d9c1a1c4809a61eb129c260a76096249cc997f 100644
--- a/modules/codereview/manifests/init.pp
+++ b/modules/codereview/manifests/init.pp
@@ -32,11 +32,13 @@ class codereview(
$private_key = undef,
) {
- class {'rietveld':
- domain => $domain,
+ include nginx, rietveld
+
+ nginx::hostconfig {$domain:
+ source => 'puppet:///modules/codereview/site.conf',
+ is_default => $is_default,
certificate => $certificate,
private_key => $private_key,
- is_default => $is_default,
+ log => 'access_log_codereview'
}
-
}
« 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