Index: modules/trac/manifests/init.pp |
=================================================================== |
--- a/modules/trac/manifests/init.pp |
+++ b/modules/trac/manifests/init.pp |
@@ -1,22 +1,24 @@ |
class trac( |
$domain, |
+ $certificate, |
+ $private_key, |
$is_default = false) inherits private::trac { |
package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']: |
ensure => present |
} |
include nginx, spawn-fcgi |
nginx::hostconfig {$domain: |
source => 'puppet:///modules/trac/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_trac' |
} |
user {'trac': |
ensure => present, |
comment => 'User of the trac installation', |
home => '/home/trac', |
managehome => true |