| 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', |