11 lines
194 B
Bash
Executable File
11 lines
194 B
Bash
Executable File
#!/bin/bash
|
|
HOST=$(hostname)
|
|
FHOST=$(pwd)/goss/$HOST
|
|
if [ -r "$FHOST".yaml ] ; then
|
|
goss -gossfile "$FHOST".yaml v --no-color
|
|
else
|
|
echo $0 : erreur lecture fichier "$FHOST".yaml
|
|
exit 1
|
|
fi
|
|
|