Commit Graph

27 Commits

Author SHA1 Message Date
Jeremy Gardais 3986af300d
Use new store.ipr.univ-rennes.fr 2023-10-20 10:14:08 +02:00
Jeremy Gardais 700d6d2c5c
Exit if SGE is not configured on hosts 2021-12-22 11:03:26 +01:00
Jeremy Gardais 1cd20da9b6
Use localhost as default master to allow host lookup 2021-12-15 05:59:02 +01:00
Jeremy Gardais 1d1bf88bd6
Get SGE master from config file 2021-12-09 15:33:27 +01:00
Jeremy Gardais 350cb2941f
Add TODO: replace curl --silent option 2021-06-09 08:08:27 +02:00
Jeremy Gardais 5f8ffa900f
Add web_mode to get maco's version with curl 2021-06-09 08:06:30 +02:00
Jeremy Gardais 36621b4f62
New mode that check update if last update failed 2021-05-21 14:27:57 +02:00
Jeremy Gardais 6c23714fee
Fix last exit status
If no urgent is required, the script can reach the end. Thise doesn't
means it's an error.
2021-04-20 15:32:30 +02:00
Jeremy Gardais 194d488340
Test earlier if SGE Master is reachable 2021-04-20 07:41:38 +02:00
Jeremy Gardais ba359c4f75
Exit if sge_qmaster host is not reachable 2021-03-11 14:50:25 +01:00
Jeremy Gardais 5222bdf3e5
Maco upgrade temp file is now stored in /opt/maco 2021-01-06 12:07:31 +01:00
Jeremy Gardais ab742e8295
Add possibility to check for urgent upgrade only 2020-11-30 15:48:25 +01:00
Jeremy Gardais c1d23c04f6
debug func return 0 to allow chain function 2020-08-20 10:02:11 +02:00
Jeremy Gardais 9ed62204ae
Add info about -q|--quiet option 2020-06-29 09:19:03 +02:00
Jeremy Gardais b7a369ae90
Don't manage files with SIMULATE_MODE enabled 2020-06-24 15:54:53 +02:00
Jeremy Gardais 60c307b933
Fix: Ensure to grep at least one "-" 2020-06-22 18:23:22 +02:00
Jeremy Gardais baab6c28a4
Add options list in help message 2020-06-22 13:48:37 +02:00
Jeremy Gardais 05bc7ac54e
Rename sge disable queue script 2020-06-22 11:25:11 +02:00
Jeremy Gardais ee91922764
Manage a temp file if upgrade is required 2020-06-17 16:01:25 +02:00
Jeremy Gardais 965fc3dd0e
Remove non-breaking space character 2020-06-16 10:04:01 +02:00
Jeremy Gardais 03178436a9
Add simulation mode without any modifications 2020-06-15 13:48:52 +02:00
Jeremy Gardais d7dd9bd592
Check for empty vars 2020-06-15 09:23:50 +02:00
Jeremy Gardais 9adce8cb1e
Prepare host if an upgrade is required 2020-06-12 17:24:34 +02:00
Jeremy Gardais 85ded81370
Order functions (most common first) to exit 0 asap 2020-06-12 16:21:20 +02:00
Jeremy Gardais 842543d62f
Add information messages and silent mode 2020-06-12 15:23:28 +02:00
Jeremy Gardais 19dcf6a96e
Manage options outside of a function 2020-06-12 15:13:53 +02:00
Jeremy Gardais f51f207890
New script to check maco's upgrade 2020-06-12 12:34:23 +02:00