diff options
author | Micah Anderson <micah@riseup.net> | 2013-02-06 21:36:54 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-02-06 21:36:54 -0500 |
commit | 1bc28015dfebece00475deba04686196d92a7f87 (patch) | |
tree | 2f1a506ab5d47f75862b74d5cb2157ac6079b6b4 | |
parent | c96ae470319058f557a444b9d4fd7dbadef2fe1f (diff) |
add a $secring_source parameter to allow for specifying a file resource source
for the .gnupg/secring.gpg, setting it to undef by default
-rw-r--r-- | manifests/init.pp | 4 |
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', } |