Skip to content

Undefined method 'get_config_options' in is_master.rb #471

@jurim76

Description

@jurim76

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions