saltstack-formulas / mongodb-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
31 stars 120 forks source link

mongodb_db_path fights with mongo over group ownership #50

Closed andrew-vant closed 5 years ago

andrew-vant commented 6 years ago

init.sls/mongodb_db_path enforces user and group ownership on the /var/lib/mongodb directory.

When mongodb restarts, it assigns group ownership of the files under /var/lib/mongodb/journal to nogroup.

This makes for confusing output. Any time the service restarts, the next state run will report an irrelevant change.

(platform: ubuntu 16.04. Not sure how far this generalizes)

noelmcloughlin commented 5 years ago

This should be resolved in #51 . thanks.