diff options
author | Micah Anderson <micah@riseup.net> | 2013-02-13 16:00:59 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-02-13 16:00:59 -0500 |
commit | 7c79e7603b9e05dd2c265e2b2014420f58322508 (patch) | |
tree | a042770e3749b91ed1c9efd0d1e544932230d948 /manifests | |
parent | 9878f1e0b68f5c68cdb8deeb795618ccbcf4c25e (diff) |
add $incoming_source variable to allow for customizing the incoming configuration, set to the original by defaultadd_customizable_incoming
Diffstat (limited to 'manifests')
-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..04aa5db 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, + $incoming_source = 'puppet:///modules/reprepro/incoming', ) { include reprepro @@ -127,7 +128,7 @@ define reprepro::repository ( File["${basedir}/conf/incoming"] { mode => '0664', owner => root, - source => 'puppet:///modules/reprepro/incoming' + source => $incoming_source } } |