Skip to content

Commit 273caf9

Browse files
author
Felipe Zipitria
committed
fix(test): use specific ip to workaround centos bug
Signed-off-by: Felipe Zipitria <[email protected]>
1 parent 2a61498 commit 273caf9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

test/integration/default/controls/postfix_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
its('mynetworks') { should cmp '127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128' }
3939
its('mailbox_size_limit') { should cmp '0' }
4040
its('recipient_delimiter') { should cmp '+' }
41-
its('inet_interfaces') { should cmp 'all' }
41+
its('inet_interfaces') { should cmp '127.0.0.1' }
4242
its('inet_protocols') { should cmp 'all' }
4343
its('message_size_limit') { should cmp '41943040' }
4444
its('smtpd_recipient_restrictions') do

test/salt/pillar/default.sls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ postfix:
4545
mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
4646
mailbox_size_limit: 0
4747
recipient_delimiter: +
48-
inet_interfaces: all
48+
# using all has problems in centos with ipv6
49+
inet_interfaces: 127.0.0.1
4950
inet_protocols: all
5051

5152
# Alias

test/salt/pillar/postgrey.sls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ postfix:
5050
mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
5151
mailbox_size_limit: 0
5252
recipient_delimiter: +
53-
inet_interfaces: all
53+
# using all has problems in centos with ipv6
54+
inet_interfaces: 127.0.0.1
5455
inet_protocols: all
5556

5657
# Alias

0 commit comments

Comments
 (0)