From 42d213225f368c4345629698695ccfc58cb5f521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= <raphael.pinson@camptocamp.com> Date: Mon, 22 Jul 2013 14:49:56 +0200 Subject: [PATCH] inet_interfaces defaults to all --- manifests/init.pp | 2 +- spec/classes/postfix_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 118f48b..447881f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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 diff --git a/spec/classes/postfix_spec.rb b/spec/classes/postfix_spec.rb index 3285a81..1d57c24 100644 --- a/spec/classes/postfix_spec.rb +++ b/spec/classes/postfix_spec.rb @@ -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') } -- GitLab