Major Problem:
issue when using NFS path value for TMPDIR variable (staf copy loops for ever
when trying to copy a folder to itself)
What's done: fix the issue and do some cleanup
- set the log directory path in objects (instance,client)
instance.getLogDir()
instance.setLogDir()
client.getLogDir()
client.setLogDir()
- use a function to give the path name of the tmp file (factorize the code) :
getLogFileName()
- do not copy a directory if the destDirectory already exists (avoid copying
directory to itself in case of directory is shared by nfs.
- add a new file : parser/object.xml : new library to manage objects
currently one function :
getEnabledClients() : return the list of enabled clients defined in the
scheduler
---This line, and those below, will be ignored--
M main_run.xml
M verdict/verdict.xml
M installation/installation_opends.xml
M log/log.xml
M shared/functions/ldap.xml
M shared/functions/stafcmd.xml
M configuration/configuration_opends.xml
M generateLdif/generateLdif.xml
M parser/parser.py
M parser/parser.xml
M main_run_lib.xml
M scheduler/scheduler.xml
AM parser/object_lib.xml