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)
Affected Puppet, Ruby, OS and module versions/distributions
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)