]> gitweb.fluxo.info Git - puppet-reprepro.git/commitdiff
Gpg folder permissions
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 9 May 2010 04:27:31 +0000 (01:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 9 May 2010 04:27:31 +0000 (01:27 -0300)
manifests/init.pp

index 93e9364e2132f50cb74504b9aff57ff106197904..3dc055fe6a4d6dcf7a78931f6d49ec51cfbfe57e 100644 (file)
@@ -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: