2014-06-03 17:30 GMT+02:00 Thomas Woerner <twoerner@redhat.com>:
What are the needed and wanted role states?

It was requested to have integer states. A bit field maybe? Questions and suggestions welcome.

I'd much rather see a state transition diagram (expecting that many of the N×N theoretical state transitions wouldn’t actually be possible).

Please add roles with a description:

Role              | Description
------------------+----------------------------------------------------------------
enabled           | Role will be started automatically at next boot
configured        | Configuration has been added
deployed          | Role is deployed
I’d rather collapse these two: what does “deploy” of an unconfigured role even mean, and how can I configure something that hasn‘t been deployed?

activation_failed | Activation (with systemd) failed
Do we need to be that specific?  Perhaps just “failed” meaning “successfully deployed but not working”?

Is there a need for time stamps for these states?
Not timestamps, no.  But there is a need to have an user-accessible log, and having it machine-parsable would be even better.
    Mirek