Skip to content

ubic-admin --user-config option (and --no-user-config)  #77

@tadam

Description

@tadam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions