Commit 63e25879 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Get rid of scope.lookupvar

parent 01c6a1f0
...@@ -106,6 +106,8 @@ describe 'postfix' do ...@@ -106,6 +106,8 @@ describe 'postfix' do
/schleuder/ /schleuder/
).with_content( ).with_content(
/sympa/ /sympa/
).with_content(
/user=bar/
) )
} }
it { should contain_file('/etc/postfix/main.cf').without('seltype') } it { should contain_file('/etc/postfix/main.cf').without('seltype') }
......
...@@ -68,7 +68,7 @@ scache unix - - - - 1 scache ...@@ -68,7 +68,7 @@ scache unix - - - - 1 scache
# Also specify in main.cf: maildrop_destination_recipient_limit=1 # Also specify in main.cf: maildrop_destination_recipient_limit=1
# #
maildrop unix - n n - - pipe maildrop unix - n n - - pipe
flags=DRhu user=<%= scope.lookupvar('postfix::mail_user') %> argv=/usr/bin/maildrop -d ${recipient} flags=DRhu user=<%= @mail_user %> argv=/usr/bin/maildrop -d ${recipient}
# #
# See the Postfix UUCP_README file for configuration details. # See the Postfix UUCP_README file for configuration details.
# #
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment