aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gnupg/templates/batch
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gnupg/templates/batch')
-rw-r--r--modules/gnupg/templates/batch12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/gnupg/templates/batch b/modules/gnupg/templates/batch
new file mode 100644
index 00000000..05ffe095
--- /dev/null
+++ b/modules/gnupg/templates/batch
@@ -0,0 +1,12 @@
+%echo Generating a standard key
+Key-Type: <%= key_type %>
+Key-Length: <%= key_length %>
+Name-Real: <%= key_name %>
+Name-Comment: Key made by puppet on <%= fqdn %>
+Name-Email: <%= email %>
+Expire-Date: <%= expire_date %>
+%pubring <%= name %>.pub
+%secring <%= name %>.sec
+%commit
+%echo done
+