1. `lib/facter/facts.rb` is a really bad name for a fact file since it has to be unique across all modules. 2. It's not even used! Puppetlabs/mongodb (which is a dependency) provides an identically named fact that takes precedence (due to `mongodb_version.rb` coming after `facts.rb` alphabetically)
Remove mongodb_version fact
A couple of issues.
1. `lib/facter/facts.rb` is a really bad name for a fact file since it has
to be unique across all modules.
2. It's not even used! Puppetlabs/mongodb (which is a dependency) provides an identically named
fact that takes precedence (due to `mongodb_version.rb` coming after `facts.rb` alphabetically)
The puppetlabs fact returns a version as reported by mongodb (eg
2.6.12), whereas this module's version would return the package version
(eg 2.6.12-4.el7). This isn't important as the only place it's used is
in templates/server.conf.erb
https://github.com/Katello/puppet-pulp/blob/a48570999513e3f2cae5a4e84a373e836e048850/templates/server.conf.erb#L52