Commit Graph

18 Commits

Author SHA1 Message Date
Jeremy Gardais 47d7060743
find allow to use pattern to verify if file exists 2020-07-06 15:30:32 +02:00
Jeremy Gardais df39d103e6
Exit if nologin file exists 2020-07-06 15:07:23 +02:00
Jeremy Gardais f765e15c7f
Avoid to enable queue during upgrade 2020-07-06 11:30:24 +02:00
Jeremy Gardais 1c6a8fcbc6
Create a file in /opt/ipr/cluster instead of /etc 2020-06-24 14:56:04 +02:00
Jeremy Gardais 652fca2abc
Redirect qmod stdout to /dev/null 2020-06-24 10:40:23 +02:00
Jeremy Gardais 2ffd9ce5bd
Correct the value of watched file 2020-06-23 17:05:48 +02:00
Jeremy Gardais ce8cf73b0e
Refactor CHECK_UPGRADE 2020-06-22 20:46:37 +02:00
Jeremy Gardais de494b76c1
FORCE_MODE implies to don't check for upgrade 2020-06-22 20:42:09 +02:00
Jeremy Gardais d6f266a129
Enable FORCE_MODE for remote host 2020-06-22 20:27:10 +02:00
Jeremy Gardais 205207fd15
Define extra vars in a function 2020-06-22 20:04:46 +02:00
Jeremy Gardais 60c307b933
Fix: Ensure to grep at least one "-" 2020-06-22 18:23:22 +02:00
Jeremy Gardais 4535850b3a
Add --force option to force to enable a queue 2020-06-22 17:12:14 +02:00
Jeremy Gardais 2ac0de9343
Add --hostname option 2020-06-22 14:20:45 +02:00
Jeremy Gardais 04946977d9
Add message on stdout and quiet mode 2020-06-22 14:04:57 +02:00
Jeremy Gardais 2e493e086f
Add options management 2020-06-22 13:48:26 +02:00
Jeremy Gardais 3d01cb8487
(re)enable SGE queue only if disable by a script
Test if /etc/.sge.${QUEUE_NAME}.disable exist
2020-06-22 13:25:34 +02:00
Jeremy Gardais 138aecfb47
Exit if pending upgrades 2020-06-22 12:32:31 +02:00
Jeremy Gardais 270c1eb3fb
New script to enable host's SGE queue(s) 2020-06-22 11:33:31 +02:00