summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-09 01:27:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-09 01:27:31 -0300
commit3d528b9ab06145f774d021adbffb6cbc55bd26ae (patch)
tree04175a8522fd9375cb2f61f7146fc9937d4ff6a0
parentb4cef3c5943b2bda1fe5704dd48f1014e63092d1 (diff)
downloadpuppet-reprepro-3d528b9ab06145f774d021adbffb6cbc55bd26ae.tar.gz
puppet-reprepro-3d528b9ab06145f774d021adbffb6cbc55bd26ae.tar.bz2
Gpg folder permissions
-rw-r--r--manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 93e9364..3dc055f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -89,7 +89,7 @@ class reprepro {
content => template("reprepro/index.html.erb");
"$basedir/.gnupg":
- mode => 750, owner => reprepro, group => root,
+ mode => 700, owner => reprepro, group => reprepro,
ensure => directory;
"/usr/local/bin/reprepro-export-key":
@@ -116,6 +116,7 @@ class reprepro {
user => reprepro,
subscribe => File["$basedir/.gnupg"],
require => File["/usr/local/bin/reprepro-export-key"],
+ refreshonly => true,
}
cron { reprepro: