| Index: modules/hgweb/manifests/init.pp |
| =================================================================== |
| --- a/modules/hgweb/manifests/init.pp |
| +++ b/modules/hgweb/manifests/init.pp |
| @@ -21,29 +21,34 @@ |
| # |
| # [*hgaccess*] |
| # A prototype directory source for the hgaccess repository. |
| # |
| # [*templates*] |
| # A directory providing custom /static/ resources to be used instead |
| # of the ones that ship with package mercurial. |
| # |
| +# [*trac_abpbot_password*] |
| +# The password of the Trac user "abpbot", whose credentials are used to |
| +# interact with issues.adblockplus.org. |
| +# |
| # === Examples: |
| # |
| # class {'hgweb': |
| # domain => 'localhost', |
| # } |
| # |
| class hgweb( |
| $domain, |
| $is_default = false, |
| $certificate = hiera('hgweb::certificate', 'undef'), |
| $private_key = hiera('hgweb::private_key', 'undef'), |
| $hgaccess = 'puppet:///modules/hgweb/hgaccess', |
| $templates = hiera('hgweb::templates', '/usr/share/mercurial/templates'), |
| + $trac_abpbot_password = hiera('hgweb::trac_abpbot_password', 'abpbot'), |
| ) { |
| include ssh, nginx |
| $required_packages = ['mercurial-common', 'python-flup', 'spawn-fcgi'] |
| ensure_packages($required_packages) |
| class {'sitescripts': |