Index: modules/updateserver/manifests/init.pp |
=================================================================== |
--- a/modules/updateserver/manifests/init.pp |
+++ b/modules/updateserver/manifests/init.pp |
@@ -1,10 +1,12 @@ |
class updateserver( |
$domain, |
+ $certificate, |
+ $private_key, |
$is_default=false |
) { |
class {'nginx': |
worker_processes => 2, |
worker_connections => 4000, |
ssl_session_cache => off, |
} |
@@ -33,13 +35,13 @@ class updateserver( |
ensure => file, |
source => 'puppet:///modules/updateserver/adblockplusie/update.json', |
mode => 0644 |
} |
nginx::hostconfig{$domain: |
source => 'puppet:///modules/updateserver/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_update' |
} |
} |