Comment 8 for bug 1428696

Revision history for this message
Aleksandr Didenko (adidenko) wrote :

It still does not work on envs with single mongo node because we're getting empty array here:

https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/osnailyfacter/modular/roles/mongo_primary.pp#L16

It's happenning because with single mongo node we have no 'mongo' roles, only one 'primary-mongo' role. If I understand correctly, we're supposed to get an array of all mongo nodes (primary-mongo and mongo roles) there.