aboutsummaryrefslogtreecommitdiff
path: root/nomad/email.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'nomad/email.hcl')
-rw-r--r--nomad/email.hcl10
1 files changed, 10 insertions, 0 deletions
diff --git a/nomad/email.hcl b/nomad/email.hcl
index 75849cd..4b4be41 100644
--- a/nomad/email.hcl
+++ b/nomad/email.hcl
@@ -356,6 +356,16 @@ job "email" {
destination = "secrets/postfix/ldap-alias.cf"
}
+ artifact {
+ source = "http://127.0.0.1:8500/v1/kv/configuration/email/postfix/ldap-virtual-domains.cf.tpl?raw"
+ destination = "secrets/postfix/ldap-virtual-domains.cf.tpl"
+ mode = "file"
+ }
+ template {
+ source = "secrets/postfix/ldap-virtual-domains.cf.tpl"
+ destination = "secrets/postfix/ldap-virtual-domains.cf"
+ }
+
template {
data = "{{ key \"configuration/email/postfix/postfix.crt\" }}"