Export archive signing key as debarchive user
authorJan Dittberner <jandd@cacert.org>
Fri, 2 Aug 2019 16:53:41 +0000 (18:53 +0200)
committerJan Dittberner <jandd@cacert.org>
Fri, 2 Aug 2019 16:53:41 +0000 (18:53 +0200)
sitemodules/profiles/manifests/debarchive.pp

index 4533a36..fd79ed6 100644 (file)
@@ -203,6 +203,7 @@ class profiles::debarchive (
   exec { "export archive signing key":
     command => "/usr/bin/gpg --export --export-options export-minimal \"${release_signing_keyid}\" > ${archive_public_key}",
     creates => $archive_public_key,
+    user    => 'debarchive',
     require => [
       File[$package_dir],
       File["${gpg_home}/gpg.conf"],