Commit Graph

479 Commits

Author SHA1 Message Date
Jeremy Gardais 12ba56fd0d
Ignore empty lines
Potential removed tags,…
2022-01-20 07:53:49 +01:00
Jeremy Gardais 54cf9ba91e
Print error message without DEBUG 2022-01-17 07:56:55 +01:00
Jeremy Gardais 700d6d2c5c
Exit if SGE is not configured on hosts 2021-12-22 11:03:26 +01:00
Jeremy Gardais 15992d9393
Ignore error message for qconf result 2021-12-22 10:53:33 +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 8eb7a52aef
Ensure to setup correct permissions on homedir 2021-11-29 16:05:01 +01:00
Jeremy Gardais ec39784e14
Create home directory for each user 2021-11-29 15:27:47 +01:00
Jeremy Gardais 71b0499341
Compare new and old users list (if available) 2021-11-29 15:13:40 +01:00
Jeremy Gardais 6b130315dd
Sort users to avoid differences between each runs 2021-11-29 12:05:37 +01:00
Jeremy Gardais 2cc9078ad9
Rename file list for next run 2021-11-29 12:01:38 +01:00
Jeremy Gardais 6dc5cd590d
Get users list from LDAP group 2021-11-26 16:55:05 +01:00
Jeremy Gardais 825cf90ec0
Manage --home option and verify home base dir 2021-11-26 14:14:47 +01:00
Jeremy Gardais 3d14412124
Script to set a ZFS quota to all user of a pool
Or dataset…
2021-11-24 14:10:55 +01:00
Jeremy Gardais c7d3012d0c
Test sge_execd in two steps 2021-11-24 07:36:32 +01:00
Jeremy Gardais 1279e28e83
Disable SGE queue only if sge_execd is absent 2021-11-24 07:35:44 +01:00
Jeremy Gardais 2340ced9b8
Ensure queue is disable before starting sge_execd 2021-11-23 17:14:48 +01:00
Jeremy Gardais 9d31d4ab02
FORCE_MODE: Don't manage host as a localhost 2021-11-23 17:07:02 +01:00
Jeremy Gardais 4b0ee6da93
Add FORCE_MODE 2021-11-23 16:35:43 +01:00
Jeremy Gardais 1781803123
Test if ldapsearch is available 2021-11-19 15:05:03 +01:00
Jeremy Gardais 29e64cc35d
Add is_var_empty_silent for sensitives variables 2021-11-19 14:48:41 +01:00
Jeremy Gardais c9991761dc
Allow to enter ldap_user and ldap_passwd commands 2021-11-19 14:45:06 +01:00
Jeremy Gardais 2be03f6701
Allow to define LDAP server 2021-11-19 14:19:57 +01:00
Jeremy Gardais aac9641c04
Allow to define LDAP group_base 2021-11-19 14:13:23 +01:00
Jeremy Gardais 6c134757cf
Test empty var in main 2021-11-19 14:05:56 +01:00
Jeremy Gardais 91eaa7642a
New script to create user's homedir 2021-11-19 13:59:39 +01:00
Jeremy Gardais f56e2b067c
Add a delay after the start of sge_execd 2021-11-18 12:11:04 +01:00
Jeremy Gardais 900cc0611d
Start sge_execd earlier 2021-11-18 11:58:30 +01:00
Jeremy Gardais c5acd253ac
Set full path to pct 2021-11-16 12:03:28 +01:00
Jeremy Gardais 123f5afaa2
Also verify that node is a SGE submit host 2021-11-16 10:18:59 +01:00
Jeremy Gardais 4b491ed2d4
New script to upgrade an LXC template
Test if it's a Proxmox host

Call define_vars function

Verify if the ct_id is available on the host

Add color to important value in DEBUG mode

Function to verify current LXC container state

New function to start the container

Add option to define sleep_delay

Function to upgrade the container

Keep output only if DEBUG mode

Function to stop the container

error_message function and exit if CT is running

Working script to upgrade an LXC CT (a template)
2021-11-15 15:22:32 +01:00
Jeremy Gardais b89daa4f3c
Use long-format for options 2021-11-12 11:58:07 +01:00
Jeremy Gardais bfc1660c68
Remove cmd already runned with latecommand script 2021-11-12 11:53:52 +01:00
Jeremy Gardais 565304f72d
Zoom: Update pattern for major release number 2021-10-27 14:28:52 +02:00
Jeremy Gardais 866f928f78
New script to verify Alacritty upgrade 2021-10-27 09:38:09 +02:00
Jeremy Gardais 79ff7e0a5f
Gitea: Ensure to remove unused previous release 2021-09-29 15:26:19 +02:00
Jeremy Gardais f66af4977d
Reprepro: Ignore hidden packages 2021-08-30 12:27:20 +02:00
Jeremy Gardais 66ebcf6947
Zoom: Check version with dpkg info 2021-08-23 19:03:11 +02:00
Jeremy Gardais 390e965ac0
RKT Electron: Ensure .deb file has a size>0 2021-08-23 10:29:43 +02:00
Jeremy Gardais b5089fd4df
Add TODO to replace TARFILE with TARGET 2021-08-05 10:22:30 +02:00
Jeremy Gardais fa22d9ec4a
Try to set reprepro more silent 2021-07-27 09:56:28 +02:00
Jeremy Gardais ee65352910
Fix indent 2021-07-27 09:51:23 +02:00
Jeremy Gardais e261360a18
Fix indent 2021-07-20 10:38:24 +02:00
Jeremy Gardais 59f7e1907e
Gitea: use long options 2021-07-19 11:38:33 +02:00
Jeremy Gardais 6cf7fe5977
gitea: auto download new version 2021-07-19 11:36:43 +02:00
Jeremy Gardais 7da80f22f9
app's scripts: try to use long options 2021-07-07 12:42:13 +02:00
Jeremy Gardais af622337ff
reprepro: Ensure to remove useless .deb in any case 2021-07-07 12:36:34 +02:00
Jeremy Gardais 494ac1ef70
reprepro: Select main component by default 2021-07-06 12:14:55 +02:00
Jeremy Gardais ef95291a28
reprepro: Add silent option 2021-07-06 12:14:43 +02:00
Jeremy Gardais c4bcc5c5a8
reprepro: remove the package once useless 2021-06-30 16:15:48 +02:00