projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move all roles from local.yaml to hiera
[mirror/dsa-puppet.git]
/
modules
/
exim
/
templates
/
manualroute.erb
diff --git
a/modules/exim/templates/manualroute.erb
b/modules/exim/templates/manualroute.erb
index
10f246a
..
21a194e
100644
(file)
--- a/
modules/exim/templates/manualroute.erb
+++ b/
modules/exim/templates/manualroute.erb
@@
-12,7
+12,7
@@
mxmatches = [ scope.lookupvar('::fqdn') ]
routes = []
extraroutes = []
-if scope.
lookupvar('site::nodeinfo')['mailrelay']
+if scope.
function_has_role('mailrelay')
mxmatches << 'mailout.debian.org'
mxmatches << 'INCOMING-MX'
extraroutes = [ "keyring.debian.org:\t\tkaufmann.debian.org" ]