I'm working on BZ https://bugzilla.redhat.com/show_bug.cgi?id=1409786
need some help to understand what is going here.
The main problem is: to check if dirsrv is running before calling
So, in order to do that I added the lines in ca install_check:
if services.knownservices.dirsrv.is_installed() and
raise ScriptError('Directory Server is not running')
is_running returns True, however, the method is_installed always returns
The method checks if "dirsrv(a)EXAMPLE-TEST.service" is in the output of
"systemctl list-unit-files --full", which do not happen.
If I run "systemctl | grep running", dirsrv(a)EXAMPLE-TEST.service is in the
What I'm missing here?