add fact that gives ipa role
A fact giving the current role (master
,replica
,client
), should be useful.
With this fact we can be aware of state when manifest application is starting. And so we will be able to :
- change a
replica
tomaster
(useful during Business Continuity Plan if original master is destroyed) - send error message if operator modify data in an unallowed manner.
This is important because with IAC way of life, if i modify parameter value, i expect it will be applied on system accordingly. With the current version of module, if i change role from master
to replica
the run will fail or worst damage the system. And that should not happen.