mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Check for each installed service
This commit is contained in:
parent
5d0fdd25c8
commit
40b68e6e07
1 changed files with 8 additions and 1 deletions
|
@ -2013,7 +2013,14 @@ install_fedora_restart_daemons() {
|
|||
}
|
||||
|
||||
install_fedora_check_services() {
|
||||
__check_services_systemd
|
||||
for fname in minion master syndic; do
|
||||
# Skip if not meant to be installed
|
||||
[ $fname = "minion" ] && [ $_INSTALL_MINION -eq $BS_FALSE ] && continue
|
||||
[ $fname = "master" ] && [ $_INSTALL_MASTER -eq $BS_FALSE ] && continue
|
||||
[ $fname = "syndic" ] && [ $_INSTALL_SYNDIC -eq $BS_FALSE ] && continue
|
||||
__check_services_systemd $fname || return 1
|
||||
done
|
||||
return 0
|
||||
}
|
||||
#
|
||||
# Ended Fedora Install Functions
|
||||
|
|
Loading…
Add table
Reference in a new issue