feat: add pveceph consul services
- refacter the pveceph facts - define consul services for osd, mgr, mds and mons
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user