Richard Glidden
070cd0f4df
Use _sleep instead of sleep
1 month ago
Richard Glidden
8608e9cd3a
Save and read variables
1 month ago
tomo
5c86ace25b
minor code style adjustments in multideploy script
2 months ago
Jacobo de Vera
5767c01845
Use file descriptor 3 for main deployment loop
Before this, some deployment scripts would interact with STDIN and that would cause this loop to skip some elements. By using descriptor 3 we avoid clashing with the very common stdin and stdout.
2 months ago
Jacobo de Vera
554b3014d0
Fix eval bug by quoting
Before this, the eval call would try to run some commands (if they were compound commands) in the yaml file on the machine running acme.sh
Eval might not be worth it for the little benefit it brings.
2 months ago
Jacobo de Vera
881b8c806f
Remove config logging when checking
Because it causes a mysterious crash and it's honestly not worth it.
2 months ago
Jacobo de Vera
e3345d746f
Remove explicit save of the deployhook
acme.sh takes care of that
2 months ago
Jacobo de Vera
2ba4a1b659
Remove unnecessary resetting of IFS
2 months ago
Jacobo de Vera
a98c2109ea
Quote paths to prevent word splitting
2 months ago
Jacobo de Vera
1e70fc247a
Explain _clear_envs rationale
2 months ago
Jacobo de Vera
929bb68e8c
Explain the use of eval
2 months ago
Jacobo de Vera
14ac6ef51f
Make failure to check file stop the deployment
Before this, checker issues were only logged. This stops the deployment if any configuration is incorrect.
2 months ago
Jacobo de Vera
cca19f16ab
Fix config file checks
The config file checks were returning okay even when there were errors. The yq tool returns "null" when it cannot find what's queried, but exists with a 0 rc still.
2 months ago
Jacobo de Vera
ffff902da8
Support spaces in service names
- Prefer using a pipe to `while read`
- But use a temp file when the loop needs to modify variables that need to be used outside the loop, as the pipe creates a subshell and modifications do not survive after the loop exits.
2 months ago
Jacobo de Vera
5aae3333bc
Show proxmox deploy scripts response only on debug
2 months ago
Richard Glidden
6d40ac8644
chore: Fix shellcheck errors
4 months ago
Richard Glidden
d7c428fc8d
feat: Add ability to deploy to remote TrueNAS instances
4 months ago
asauerwein
fdb1e8c2e4
fix usage of H1 header
change to while loop
use global variable for loop
fix if statement to be sh compliant
shfmt
2 months ago
asauerwein
5b02e86334
add template_stack option to push to device
2 months ago
tomo
effe603a69
fixed yml file env list
4 months ago
tomo
25f6b794ac
removed unneeded return value
5 months ago
tomo
59870da3bc
removed dead code
5 months ago
tomo
3551e4a787
implemented exiting with the number of failed deployments
5 months ago
tomo
1dc597b538
implemented exiting with 1 if at least one deployment fails
5 months ago
tomo
eca6e69af1
fixed bug with envs due to the use of a wrong function
5 months ago
emueller
55282851c4
implemented all suggestions
5 months ago
Joe Bauser
4f5a70b804
Apply suggested fixes from shfmt diffs
5 months ago
Attackwave
99a4cf9e07
Quickfix TrueNAS 25.04
5 months ago
emueller
bf2e99efa6
fixed quoting in kemplm.sh
5 months ago
emueller
7543d5220c
fixed kemplm.sh formatting
5 months ago
emueller
ca73e1f024
added deploy/kemplm.sh for deploying certs on Kemp Loadmaster
5 months ago
Joe Bauser
24a1b93842
Add deploy/zyxel_gs1900.sh
Add support for deploying to the Zyxel GS1900 line of switches as long
as those switches are running at least firmware V2.80.
Tested on a Zyxel GS1900-8 and GS1900-24E
Resolves #5042
2 years ago
Alin Trăistaru
e81635f23d
check curl vault http return code
6 months ago
tomo
5189a310e2
simplified deploy method
6 months ago
tomo
7949c10934
fixed IFS problems for some hooks
7 months ago
tomo
bc23e8ca30
fixed formatting
7 months ago
tomo
67b5176f33
removed configs and implemented specification of deploy file name
7 months ago
ms264556
93c19356d0
Don't deploy ECC certs to legacy Ruckus
7 months ago
William Lallemand
7e320d2748
haproxy: don't leak private keys when doing --debug
It was reported in issue #6267 that the private key was leaked when
using the DEPLOY_HAPROXY_HOT_UPDATE=yes feature.
Indeed, the debugging code which sends commands to HAProxy was using
_debug even when passing the private key.
This patch fixes the issue by using _secure_debug when doing that.
8 months ago
copyliu
ebdd221c72
routeros: file-name should in quotes in newer (7.18) version
8 months ago
tomo
69858fbd5f
Update links in multideploy.sh
8 months ago
tomo
f26d40404a
fixed missing wiki link
8 months ago
tomo
98aaff68f4
allowed using varaibles in deploy file
8 months ago
tomo
b6a6e67d04
added header doc
8 months ago
tomo
7a35d6838d
added docs and enhanced log messages
8 months ago
tomo
a9c2435c88
added docs
8 months ago
tomo
8d77bef828
fixed IFS problems
8 months ago
tomo
ccd9d9a79e
improved preprocessing and fixed bug with wrong param of services
8 months ago
tomo
6189aa5a35
added debug messages
8 months ago
tomo
06e75de728
implemented checking for different kinds of deploy file
8 months ago