Let me know if this could be usable for a pull request.
I added a generation of the configuration file (/etc/db/db.conf).
The file contains a machine IP address, server role (master/slave) etc..., this informations could be used by some administration script (provided by you, for example, which changing roles of master and slave instances, or doing backup etc... ).
Hi,
Let me know if this could be usable for a pull request.
I added a generation of the configuration file (/etc/db/db.conf). The file contains a machine IP address, server role (master/slave) etc..., this informations could be used by some administration script (provided by you, for example, which changing roles of master and slave instances, or doing backup etc... ).
The db.conf.jinja:
and you can define the variables via pillar:
Technically, there are only a few modifications in the original formula code.