Open mateusduboli opened 7 years ago
+1
+1
This happens when you run the cookbook first with sc-mongodb::install
and then use sc-mongodb::replicaset
.
It can be fixed if you install mongo using sc-mongodb::replicaset
with node['mongodb']['auto_configure']['replicaset'] = false
to not run the replicaset script.
I didn't looked much into it, but seems to be a valid workaround.
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.
I'm getting this error message from trying run chef on a newly created mongodb instance with a replica set configuration:
Message
I'm running chef using terraform and the only recipe in the run-list is
sc-mongodb::replicaset
.Any reason why is this happening?