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

Unified Diff: modules/rietveld/manifests/init.pp

Issue 29320002: Issue 2713 - Move Nginx setup from module "rietveld" to module "codereview" (Closed)
Patch Set: Created June 23, 2015, 7:06 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/rietveld/files/site.conf ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/rietveld/manifests/init.pp
diff --git a/modules/rietveld/manifests/init.pp b/modules/rietveld/manifests/init.pp
index ce597b6cb43a20079e98c040b213ef2ef5b28d03..d1dfc8b3ffb4d4f9ce56b8f48f7bb1ff369127a2 100644
--- a/modules/rietveld/manifests/init.pp
+++ b/modules/rietveld/manifests/init.pp
@@ -1,29 +1,16 @@
class rietveld(
- $domain,
- $certificate,
- $private_key,
- $is_default = false,
$secret_key = hiera('rietveld::secret_key', ''),
$admins = hiera('rietveld::admins', []),
$oauth2_client_id = hiera('rietveld::oauth2_client_id', ''),
$oauth2_client_secret = hiera('rietveld::oauth2_client_secret', ''),
) {
- include nginx
$rietveld_home = '/opt/rietveld'
Exec {
path => '/usr/bin:/usr/sbin:/bin:/usr/local/bin',
}
- nginx::hostconfig {$domain:
- source => 'puppet:///modules/rietveld/site.conf',
- is_default => $is_default,
- certificate => $certificate,
- private_key => $private_key,
- log => 'access_log_codereview'
- }
-
package {['wget', 'unzip', 'git', 'make', 'patch', 'subversion']: ensure => present}
user {'rietveld':
« no previous file with comments | « modules/rietveld/files/site.conf ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld