summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 9b76884..0ad7dc7 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -9,7 +9,8 @@ class reprepro (
$manage_incoming_conf = true,
$handle_incoming_with_cron = false,
$handle_incoming_with_inotify = false,
- $signwith = 'yes'
+ $signwith = 'yes',
+ $secring_source = undef,
){
package {
'reprepro': ensure => 'installed';
@@ -81,6 +82,7 @@ class reprepro (
mode => '0700',
}
file { "${basedir}/.gnupg/secring.gpg":
+ source => $secring_source
ensure => present,
mode => '0600',
}