| Index: modules/discourse/manifests/init.pp |
| =================================================================== |
| --- a/modules/discourse/manifests/init.pp |
| +++ b/modules/discourse/manifests/init.pp |
| @@ -1,10 +1,12 @@ |
| class discourse( |
| $domain, |
| + $certificate, |
| + $private_key, |
| $is_default = false |
| ) inherits private::discourse { |
| include postgresql::server |
| postgresql::database {'discourse':} |
| postgresql::role {'discourse': |
| @@ -280,13 +282,13 @@ class discourse( |
| nginx::hostconfig{$domain: |
| source => 'puppet:///modules/discourse/site.conf', |
| global_config => ' |
| upstream discourse { |
| server localhost:3000; |
| }', |
| is_default => $is_default, |
| - certificate => 'adblockplus.org_sslcert.pem', |
| - private_key => 'adblockplus.org_sslcert.key', |
| + certificate => $certificate, |
| + private_key => $private_key, |
| log => 'access_log_intraforum' |
| } |
| } |