summaryrefslogtreecommitdiff
path: root/yarns/900-implements.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r--yarns/900-implements.yarn8
1 files changed, 8 insertions, 0 deletions
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn
index d4b1ee5..2ffee04 100644
--- a/yarns/900-implements.yarn
+++ b/yarns/900-implements.yarn
@@ -16,6 +16,14 @@ Does the server respond to a ping?
. "$DATADIR/config.sh"
ping -c1 "$SERVER"
+## Check server hostname
+
+Does the server's hostname match its domain name?
+
+ IMPLEMENTS THEN server hostname is as expected
+ . "$DATADIR/config.sh"
+ ssh "$SERVER" hostname | grep -Fx "$SERVER"
+
## Running command over ssh
Run a command on the server over ssh, capturing stdout and stderr and