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

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

Issue 4894914248704000: Issue 254 - Switch from wildcard certificate to certificates for individual hosts (Closed)
Patch Set: Created April 10, 2014, 9 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
Index: modules/rietveld/manifests/init.pp
===================================================================
--- a/modules/rietveld/manifests/init.pp
+++ b/modules/rietveld/manifests/init.pp
@@ -1,26 +1,28 @@
class rietveld(
$domain,
+ $certificate,
+ $private_key,
$is_default=false
) inherits private::rietveld {
include nginx
$django_home = '/home/rietveld/django-gae2django'
$rietveld_home = "${django_home}/examples/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 => 'adblockplus.org_sslcert.pem',
- private_key => 'adblockplus.org_sslcert.key',
+ certificate => $certificate,
+ private_key => $private_key,
log => 'access_log_codereview'
}
package {['python-django', 'make', 'patch', 'gunicorn']: ensure => present}
user {'rietveld':
ensure => present,
comment => 'User of the rietveld installation',
« no previous file with comments | « modules/private-stub/files/update.adblockplus.org_sslcert.pem ('k') | modules/statsmaster/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld