summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/repository.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/repository.pp b/manifests/repository.pp
index 07ba6e2..ae02447 100644
--- a/manifests/repository.pp
+++ b/manifests/repository.pp
@@ -10,7 +10,8 @@ define reprepro::repository (
$manage_distributions_conf = true,
$manage_incoming_conf = true,
$handle_incoming_with_cron = false,
- $handle_incoming_with_inotify = false
+ $handle_incoming_with_inotify = false,
+ $index_template = 'reprepro/index.html.erb',
) {
include reprepro
@@ -76,7 +77,7 @@ define reprepro::repository (
file { "${basedir}/index.html":
mode => '0664',
owner => root,
- content => template('reprepro/index.html.erb'),
+ content => template($index_template),
}
file { "${basedir}/.gnupg":