| Index: modules/hgweb/manifests/init.pp |
| diff --git a/modules/hgweb/manifests/init.pp b/modules/hgweb/manifests/init.pp |
| index fc5277b4faf32ccf991414040665067d230ba8da..a7933775a2d78f896bc3fc457af3babb908df179 100644 |
| --- a/modules/hgweb/manifests/init.pp |
| +++ b/modules/hgweb/manifests/init.pp |
| @@ -22,6 +22,10 @@ |
| # [*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. |
| +# |
| # === Examples: |
| # |
| # class {'hgweb': |
| @@ -34,6 +38,7 @@ class hgweb( |
| $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'), |
| ) { |
| include ssh, nginx |