Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Puppet Camptocamp Postfix
Commits
01c6a1f0
Commit
01c6a1f0
authored
May 22, 2013
by
Raphaël Pinson
Browse files
Get rid of scope.lookupvar
parent
c74a3537
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/master.cf.redhat.erb
View file @
01c6a1f0
...
...
@@ -7,10 +7,10 @@
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
<%
if
scope
.
lookupvar
(
'postfix::
smtp_listen
'
)
==
'all'
-%>
<%
if
@
smtp_listen
==
'all'
-%>
smtp inet n - n - - smtpd
<%
else
-%>
<%=
scope
.
lookupvar
(
'postfix::
smtp_listen
'
)
%>
:smtp inet n - n - - smtpd
<%=
@
smtp_listen
%>
:smtp inet n - n - - smtpd
<%
end
-%>
#smtp inet n - n - - smtpd
#submission inet n - n - - smtpd
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment