edelight/chef-mongodb

Wrong configuration of attributes for centos. sysvinit race condition.

dennybaa opened this issue · 1 comments

Hello,

Using centos 7 with install_method = 'distro' and using package mongodb-server, not mongodb-org-server. There following issues:

  1. System user is mongodb not mongod.
  2. Cookbook provides configuration for redhat sysvinit (not systemd). But the distro ships already with systemd services for mongo which are tried by default and service doesn't start.

Here are workarounds to make it work https://gist.github.com/anonymous/7b987146509a19a313cd.

I guess, the cookbook should provide native support for systemd or just doesn't work with the described scenario...