[cfg01] Reduce mine_interval to 15 min 66/67066/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 18 Feb 2019 22:08:30 +0000 (23:08 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 22 Feb 2019 13:57:40 +0000 (13:57 +0000)
commit90208ef02e80c127b662dd6e7e3ca9db05d69048
tree3f07bd3e8778538bce346f77e72a298efade93ff
parentf4dc20b22f9c44cd8ffa47cefc648bd4202c2ac1
[cfg01] Reduce mine_interval to 15 min

Some PODs are fast enough to get past installing, syncing and using
MaaS to provision the OS on the baremetal nodes before the 1h mine
refresh.

Since mine.update operation is fast enough to go unnoticed and we
only collect IP addresses, grains and pem entries, schedule it every
15 minutes.

Due to reclass class inheritance, we can't easily override this via
pillar data, so handle it via entrypoint.sh.

Change-Id: I0d8ed2da838ad09c94e9327d0131d3e239de4f08
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/scripts/docker-compose/files/entrypoint.sh