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

Undefined method 'get_config_options' in is_master.rb #471

Closed
jurim76 opened this issue Jun 24, 2018 · 0 comments
Closed

Undefined method 'get_config_options' in is_master.rb #471

jurim76 opened this issue Jun 24, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@jurim76
Copy link

jurim76 commented Jun 24, 2018

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.10.11
  • Ruby: 2.3.3
  • Distribution: Debian 9
  • Module version: 2.2.0

How to reproduce (e.g Puppet code you use)

puppet agent -t

What are you seeing

Error: Facter: error while resolving custom fact "mongodb_is_master": undefined method `get_config_options' for #Facter::Util::Resolution:0x0055f7886b5cd0
Did you mean? get_options_from_config

What behaviour did you expect instead

Output log

Any additional information you'd like to impart

In modules/mongodb/lib/facter/is_master.rb line 53

options = get_config_options(file)
should be
options = get_options_from_config(file)

@ekohl ekohl added the bug Something isn't working label Jun 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants