Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mongodb_is_master fact. #245

Merged
merged 1 commit into from Mar 11, 2016
Merged

Add mongodb_is_master fact. #245

merged 1 commit into from Mar 11, 2016

Conversation

fatmcgav
Copy link
Contributor

Add mongodb_is_master fact, which is either true or false based on db.isMaster(), or 'not_installed' if mongo isn't installed.

@fatmcgav
Copy link
Contributor Author

@hunner Just spotted this one aswell which I raised a while ago.. Looking at the failures, they're un-related to the changes I've made in this PR, and the tests pass fine in #278...

I'll rebase, but any chance of merging?

….isMaster(), or 'not_installed' if mongo isn't installed
@hunner
Copy link
Member

hunner commented Mar 11, 2016

@fatmcgav No credentials are needed to run this command?

@fatmcgav
Copy link
Contributor Author

@hunner It loads the .mongorc.js script which has credentials baked in, at-least by default... :)

hunner added a commit that referenced this pull request Mar 11, 2016
Add mongodb_is_master fact.
@hunner hunner merged commit d149aca into voxpupuli:master Mar 11, 2016
@fatmcgav
Copy link
Contributor Author

@hunner 👍

@fatmcgav fatmcgav deleted the add_facts branch March 11, 2016 17:39
cegeka-jenkins pushed a commit to cegeka/puppet-mongodb that referenced this pull request Oct 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants