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' |
} |
- |
} |