pixelated / puppet-pixelated

Puppet Module to setup the Pixelated User Agent
GNU Affero General Public License v3.0
13 stars 4 forks source link

pixelated-dispatcher packages should not purge /var/lib/pixelated #33

Closed varac closed 8 years ago

varac commented 8 years ago

This happened during the migation of wazokazi from docker to multi-user-mode:

Varac removed (purged) these .debs: pixelated-dispatcher, *docker, bigcouch to get rid of the legacy stuff. They were uninstalled but still appeared "rc" in the "dpkg -l" list so he purged them completely. One of the pixelated-dispatcher packages removed the complete /var/lib/pixelated directory during this process, deleting all soledad stores.

No pixelated-dispatcher* package should remove /var/lib/pixelated because pixelated-server uses /var/lib/pixelated/.leap for data storage. I think it's ok to purge /var/lib/pixelated/dispatcher instead.