| Index: modules/statsmaster/manifests/init.pp |
| =================================================================== |
| --- a/modules/statsmaster/manifests/init.pp |
| +++ b/modules/statsmaster/manifests/init.pp |
| @@ -1,10 +1,12 @@ |
| class statsmaster( |
| $domain, |
| + $certificate, |
| + $private_key, |
| $is_default=false |
| ) { |
| user {'stats': |
| ensure => present, |
| home => '/home/stats', |
| managehome => true, |
| } |
| @@ -75,18 +77,18 @@ class statsmaster( |
| ensure => file, |
| mode => 0444, |
| source => 'puppet:///modules/private/stats-htpasswd', |
| } |
| nginx::hostconfig{$domain: |
| source => 'puppet:///modules/statsmaster/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_stats' |
| } |
| cron {'updatestats': |
| ensure => present, |
| require => [ |
| Package['pypy'], |
| Package['python-jinja2'], |