summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-08-02 18:53:41 +0200
committerJan Dittberner <jandd@cacert.org>2019-08-02 18:53:41 +0200
commit1ec3676ddc1146924eab66906ec054e274f52277 (patch)
tree9ecc356ef9114265116251f21c9655654b92f354
parent1917bfb547849873b5782a3de8ba4f010883718e (diff)
downloadcacert-puppet-1ec3676ddc1146924eab66906ec054e274f52277.tar.gz
cacert-puppet-1ec3676ddc1146924eab66906ec054e274f52277.tar.xz
cacert-puppet-1ec3676ddc1146924eab66906ec054e274f52277.zip
Export archive signing key as debarchive user
-rw-r--r--sitemodules/profiles/manifests/debarchive.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sitemodules/profiles/manifests/debarchive.pp b/sitemodules/profiles/manifests/debarchive.pp
index 4533a36..fd79ed6 100644
--- a/sitemodules/profiles/manifests/debarchive.pp
+++ b/sitemodules/profiles/manifests/debarchive.pp
@@ -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"],