You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this module through the Pulp module, on CentOS 7. Given that my mongodb database is located on another server, Pulp module only installs the client with include ::mongodb::client
The problem comes when Puppet evaluates facts: mongodb_is_master fact tries to open a config file which does not exist on a client:
That produces the following error: Error: Facter: error while resolving custom fact "mongodb_is_master": No such file or directory @ rb_sysopen - /etc/mongodb.conf
I suppose this "if" on line 15 should be modified to not match the "mongo client only" case, given that the related "else" results in 'not_installed', which would fit.
The text was updated successfully, but these errors were encountered:
I use this module through the Pulp module, on CentOS 7. Given that my mongodb database is located on another server, Pulp module only installs the client with include ::mongodb::client
The problem comes when Puppet evaluates facts: mongodb_is_master fact tries to open a config file which does not exist on a client:
puppet-mongodb/lib/facter/is_master.rb
Lines 15 to 17 in 951b8a2
That produces the following error:
Error: Facter: error while resolving custom fact "mongodb_is_master": No such file or directory @ rb_sysopen - /etc/mongodb.conf
I suppose this "if" on line 15 should be modified to not match the "mongo client only" case, given that the related "else" results in 'not_installed', which would fit.
The text was updated successfully, but these errors were encountered: