Skip to content
Snippets Groups Projects
Commit 42d21322 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

inet_interfaces defaults to all

parent 77aa4172
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@
# }
#
class postfix (
$inet_interfaces = 'localhost',
$inet_interfaces = 'all',
$mail_user = 'vmail', # postfix_mail_user
$mailman = false,
$master_smtp = undef, # postfix_master_smtp
......
......@@ -20,7 +20,7 @@ describe 'postfix' do
it { should contain_postfix__config('myorigin').with_value('fqdn.example.com') }
it { should contain_postfix__config('alias_maps').with_value('hash:/etc/aliases') }
it { should contain_postfix__config('inet_interfaces').with_value('localhost') }
it { should contain_postfix__config('inet_interfaces').with_value('all') }
it { should contain_mailalias('root').with_recipient('nobody') }
......@@ -51,7 +51,7 @@ describe 'postfix' do
it { should contain_postfix__config('myorigin').with_value('fqdn.example.com') }
it { should contain_postfix__config('alias_maps').with_value('hash:/etc/aliases') }
it { should contain_postfix__config('inet_interfaces').with_value('localhost') }
it { should contain_postfix__config('inet_interfaces').with_value('all') }
it { should contain_postfix__config('sendmail_path') }
it { should contain_postfix__config('newaliases_path') }
it { should contain_postfix__config('mailq_path') }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment