Przeglądaj źródła

InSpec - Dont require binds to IPv6 localhost

Signed-off-by: Jared Ledvina <jared@techsmix.net>
Jared Ledvina 5 lat temu
rodzic
commit
2f70548ed0
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      molecule/shared/tests/test_default.rb

+ 4 - 4
molecule/shared/tests/test_default.rb

@@ -6,21 +6,21 @@
 describe port(6379) do
   it { should be_listening }
   its('protocols') { should include 'tcp' }
-  its('addresses') { should be_in ['0.0.0.0', '::'] }
+  its('addresses') { should be_in ['0.0.0.0'] }
 end
 
 # RabbitMQ Server
 describe port(5671) do
   it { should be_listening }
   its('protocols') { should include 'tcp' }
-  its('addresses') { should be_in ['0.0.0.0', '::'] }
+  its('addresses') { should be_in ['0.0.0.0'] }
 end
 
 # Sensu API
 describe port(4567) do
   it { should be_listening }
   its('protocols') { should include 'tcp' }
-  its('addresses') { should be_in ['0.0.0.0', '::'] }
+  its('addresses') { should be_in ['0.0.0.0'] }
 end
 
 # Sensu Client TCP/UDP Socket
@@ -42,7 +42,7 @@ end
 describe port(3000) do
   it { should be_listening }
   its('protocols') { should include 'tcp' }
-  its('addresses') { should be_in ['0.0.0.0', '::'] }
+  its('addresses') { should be_in ['0.0.0.0'] }
 end
 
 # Ensure Sensu API has one consumer