diff options
Diffstat (limited to 'manifests/repository.pp')
-rw-r--r-- | manifests/repository.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/repository.pp b/manifests/repository.pp index 07ba6e2..0c65c9f 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, + $distributions_template = 'reprepro/distributions.erb' ) { include reprepro @@ -103,7 +104,7 @@ define reprepro::repository ( File["${basedir}/conf/distributions"] { owner => root, mode => '0664', - content => template('reprepro/distributions.erb'), + content => template($distributions_template), } exec { "reprepro -b ${basedir} createsymlinks": |