You can make it use an in-memory database by setting this environment var:
UNIT_STATE_DB=:memory:
Or by doing the following before kv() is called:
charmhelpers.core.unitdata._KV = charmhelpers.core.unitdata.Storage(':memory:')
Perhaps this could be done by default in Zaza?
Reference: https://charm-helpers.readthedocs.io/en/latest/api/charmhelpers.core.unitdata.html#charmhelpers.core.unitdata.Storage
You can make it use an in-memory database by setting this environment var:
UNIT_STATE_ DB=:memory:
Or by doing the following before kv() is called:
charmhelpers. core.unitdata. _KV = charmhelpers. core.unitdata. Storage( ':memory: ')
Perhaps this could be done by default in Zaza?
Reference: https:/ /charm- helpers. readthedocs. io/en/latest/ api/charmhelper s.core. unitdata. html#charmhelpe rs.core. unitdata. Storage