mongodb not starting due to pid file issues
Hello, In attempting to deploy openstack with puppet, I am constantly faced with the issue of multiple runs as oposed to a single client run of puppet because the mongo db pid file. I am deploying on a CentOS 7 server, and have an issue with the creation of the pid file being incorrect. I have specified in the mongodb module that it should be using /var/run/mongodb/mongodb.pid but when mongodb-server installs, it creates mongod.pid instead. The only work around I've found is to manually ln -s mongodb.pid to mongod.pid, but this requires several attempts running the puppet agent, something I do not wish to do in the production environment. I have even tried creating the link from within the params.pp file where the mongodb.pid file gets specified, and still no luck -- systemctl is looking for mongodb.pid even when mongodb is installed manually and creating the mongod.pid file.
Is there a solution to this issue -- I have seen other forums suggest the changes I've already made, and I am using the 2.4.9-3 version of mongo (the downgraded version suggested by the bug description) and still have the same issue.
Any help is appreciated.