summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-10-10 18:30:44 +0200
committervarac <varacanero@zeromail.org>2013-10-10 18:30:44 +0200
commit1d080ba042d9ce55c4eaad6d35f7fffefccdbbca (patch)
treee723a1ae9982d554d08d2267f3cc2e90de38ec7c
parent2a291df14f20a3e3ac1eeebbaf50c79feb2012ed (diff)
added mail.smarthost variable to hiera
-rw-r--r--provider_base/common.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/provider_base/common.json b/provider_base/common.json
index 7ccb5005..5be0dd70 100644
--- a/provider_base/common.json
+++ b/provider_base/common.json
@@ -36,5 +36,8 @@
},
"name": "common",
"location": null,
- "enabled": true
+ "enabled": true,
+ "mail": {
+ "smarthost": "= nodes_like_me[:services => :mx].exclude(self).field('domain.full')"
+ }
}