I'm using Ubic in C++ tests, so I cannot run ubic services just using Ubic.pm.
Typical workflow is:
- Run
ubic-admin setup to make all needed directories in a temp directory.
- Put service files into tmp/ubic/service/
- Run Ubic providing ENV vars.
- ...
- Stop Ubic using the same ENV vars.
So far everything is OK. But on the first step I cannot avoid reconfiguration of local ubic.cfg.
I'd like to have an option like --user-config and --no-user-config (similar to --crontab) to be able to turn off reconfiguration of ubic.cfg.
I don't send a patch as I don't know whether anything should be prompted for this option or not.
Another idea that I have is that instead of UBIC_DIR, UBIC_SERVICE_DIR, etc. you could have smth. like UBIC_CONFIG_FILE and all the other options would be placed in that file.
I'm using Ubic in C++ tests, so I cannot run ubic services just using Ubic.pm.
Typical workflow is:
ubic-admin setupto make all needed directories in a temp directory.So far everything is OK. But on the first step I cannot avoid reconfiguration of local ubic.cfg.
I'd like to have an option like
--user-configand--no-user-config(similar to--crontab) to be able to turn off reconfiguration of ubic.cfg.I don't send a patch as I don't know whether anything should be prompted for this option or not.
Another idea that I have is that instead of
UBIC_DIR,UBIC_SERVICE_DIR, etc. you could have smth. likeUBIC_CONFIG_FILEand all the other options would be placed in that file.