diff options
author | Micah Anderson <micah@riseup.net> | 2013-02-13 15:23:14 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-02-13 15:23:14 -0500 |
commit | f4c0de8cd4225fab2ff6ef2a5da77d96f762e53c (patch) | |
tree | 1088f436db8ff85947f5299e28d91f27756cd8f2 /manifests/repository.pp | |
parent | 9878f1e0b68f5c68cdb8deeb795618ccbcf4c25e (diff) |
add possibility to have a customizable distributions templateadd_customizable_distributions
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": |