Skip to content

Commit

Permalink
fix(test): use specific ip to workaround centos bug
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Zipitria <[email protected]>
  • Loading branch information
Felipe Zipitria committed Jun 8, 2020
1 parent 2a61498 commit 273caf9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/integration/default/controls/postfix_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
its('mynetworks') { should cmp '127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128' }
its('mailbox_size_limit') { should cmp '0' }
its('recipient_delimiter') { should cmp '+' }
its('inet_interfaces') { should cmp 'all' }
its('inet_interfaces') { should cmp '127.0.0.1' }
its('inet_protocols') { should cmp 'all' }
its('message_size_limit') { should cmp '41943040' }
its('smtpd_recipient_restrictions') do
Expand Down
3 changes: 2 additions & 1 deletion test/salt/pillar/default.sls
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ postfix:
mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit: 0
recipient_delimiter: +
inet_interfaces: all
# using all has problems in centos with ipv6
inet_interfaces: 127.0.0.1
inet_protocols: all

# Alias
Expand Down
3 changes: 2 additions & 1 deletion test/salt/pillar/postgrey.sls
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ postfix:
mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit: 0
recipient_delimiter: +
inet_interfaces: all
# using all has problems in centos with ipv6
inet_interfaces: 127.0.0.1
inet_protocols: all

# Alias
Expand Down

0 comments on commit 273caf9

Please sign in to comment.