diff --git a/eval.sh b/eval.sh index d0e9e73..6424e51 100644 --- a/eval.sh +++ b/eval.sh @@ -1,7 +1,7 @@ #! /bin/bash # this script is meant to be run by ansible -source functions.sh +source /root/functions.sh # check that alias has been tried addHeader fileMustExist /etc/httpd/conf.d/cours.opendoor.fr.conf @@ -10,3 +10,5 @@ dirMustExist /srv/cours/logs pkgInstalled httpd serviceIsEnabled httpd serviceIsActive httpd +okIfCurl http://localhost/status "Apache Server Status for localhost" +okIfCurl http://localhost/config "strong>MPM Name" diff --git a/functions.sh b/functions.sh deleted file mode 120000 index 5d2015c..0000000 --- a/functions.sh +++ /dev/null @@ -1 +0,0 @@ -../0Eval/functions.sh \ No newline at end of file diff --git a/tp_apache b/tp_apache new file mode 100644 index 0000000..adf9f85 --- /dev/null +++ b/tp_apache @@ -0,0 +1,25 @@ +machine user conffile webdir logdir pkg service enabled service activated mpmok +Thomas Constans epsib2g21 1 0 0 1 1 1 1 0 +Foussa Megane epsib2g23 0 0 0 1 1 1 0 0 +Lucien Lambert epsib2g26 1 0 0 1 1 1 1 1 +Lucas Vincent epsib2g27 1 0 0 1 0 0 0 0 +Mouhamed conde epsib2g29 0 0 0 1 0 0 0 0 +Machine de Damien LE BORGNE epsib2g210 0 0 0 0 0 0 0 0 +Antunes Leny epsib2g212 1 0 0 1 0 0 0 0 +Durand Adrien epsib2g213 1 0 0 1 1 1 0 0 +Vincent Loïck epsib2g214 0 0 0 0 0 0 0 0 +Martin LOUC epsib2g217 1 0 0 1 1 1 0 0 + epsib2g218 0 0 0 0 0 0 0 0 + epsib2g233 1 0 0 1 1 1 1 1 +Mariama Laye epsib2g22 0 0 0 1 1 1 0 0 +sadaDiagne epsib2g223 0 0 0 0 0 0 0 0 +Dupont Amaury epsib2g24 1 1 1 1 1 0 0 0 +BAGUI Jean Jacques epsib2g28 0 0 0 1 0 0 0 0 +Machine de Damien LE BORGNE epsib2g210 0 0 0 0 1 1 0 0 +Antunes Leny epsib2g212 1 0 0 1 1 1 1 1 +Vincent Loïck epsib2g214 0 0 0 0 0 1 0 0 +Lucas Vincent epsib2g27 1 0 0 1 0 1 0 0 +BAGUI Jean Jacques epsib2g220 0 0 0 0 0 0 0 0 +BAGUI Jean Jacques epsib2g28 0 0 0 1 1 0 0 0 +EL MAHERSSI Med Aziz epsib2g233 1 0 0 1 1 1 1 1 +Machine de Damien LE BORGNE epsib2g210 0 0 0 0 1 0 0 0