Skip to content

Commit

Permalink
Merge pull request crowbar#7 from VictorLowther/pull-req-master-e1f04…
Browse files Browse the repository at this point in the history
…96466

Fix the DNS and NTP smoketests to work when the admin node has a public IP address [2/6]
  • Loading branch information
VictorLowther committed Apr 11, 2012
2 parents 0fc00a7 + e1f0496 commit 7d81ce3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions smoketest/00-check-dns.test
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ fi
dns_client_nodes="$(knife_node_find "roles:dns-client" IP )"

for node in $dns_client_nodes; do
if run_on "$node" grep "^nameserver\ $dns_server_ip$" /etc/resolv.conf &>/dev/null; then
echo "$(date '+%F %T %z'): DNS is pointed to the correct DNS server on node $node."
else
echo "$(date '+%F %T %z'): DNS is NOT pointed to the correct DNS server on node $node."
exit 1
fi

if run_on "$node" nslookup $dns_server_ip | grep $dns_server_fqdn &>/dev/null; then
echo "$(date '+%F %T %z'): nslookup is functioning correctly on $node."
else
Expand Down

0 comments on commit 7d81ce3

Please sign in to comment.