feat: add pveceph consul services

- refacter the pveceph facts
- define consul services for osd, mgr, mds and mons
This commit is contained in:
2024-06-18 19:57:15 +10:00
parent 0ff9b86782
commit 94aed2df9c
5 changed files with 67 additions and 0 deletions
@@ -0,0 +1,10 @@
#!/bin/bash
if [ $# -eq 0 ]; then
echo "No service specified"
exit 1
fi
if systemctl is-active --quiet $1; then
exit 0
else
exit 2
fi