summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-02-13 12:06:03 -0500
committerMicah Anderson <micah@riseup.net>2013-02-13 12:06:03 -0500
commit83ed43c4a77f38bd9044d6e34724ddb75bba4e5b (patch)
tree266e937ec7e7f33c29e42cabaacca2ae814e901e
parent9878f1e0b68f5c68cdb8deeb795618ccbcf4c25e (diff)
add the ability to have a customized index.htmladd_customizable_index
-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":