This website requires JavaScript.
Explore
Help
Sign In
seasharp
/
anvil
Watch
1
Star
0
Fork
0
You've already forked anvil
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
05438d39f4
anvil
/
tools
/
anvil-pcs-wrapper
11 lines
112 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Added a pcs wrapper to serialize pcs constraint calls. Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-08 18:32:33 +00:00
#!/bin/sh -e
(
This contains fixes needed for beta from additional testing. * Updated the pcs wrapper to flock anything but status calls. * Updated scan-apc-pdu to purge regardless of the host it's called on any host. * Fixed a bug striker-purge-target that wouldn't purge anvil nodes in various cases. Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-09 22:07:03 +00:00
if [ "$1" == "status" ]; then
Added a pcs wrapper to serialize pcs constraint calls. Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-08 18:32:33 +00:00
pcs $@
exit $?
fi
flock -e 200
pcs $@
) 200>/tmp/pcs.lock
Reference in New Issue
Copy Permalink