Use the mongosh command instead of the old mongo command #325
Annotations
10 errors
Run tests:
spec/acceptance/database_spec.rb#L8
mongodb_database creating a database with default port compiles with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_121550023.pp.BFX9ZC
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Mongodb::Client] is already declared; cannot redeclare (file: /tmp/apply_manifest_121550023.pp.BFX9ZC, line: 2) (file: /tmp/apply_manifest_121550023.pp.BFX9ZC, line: 2, column: 14) on node centos8-64-puppet7.example.com
|
Run tests:
spec/acceptance/database_spec.rb#L25
mongodb_database creating a database with default port creates the databases
Failure/Error: shell("mongo testdb1 --eval 'EJSON.stringify(db.getMongo().getDBs())'")
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 127 running:
mongo testdb1 --eval 'EJSON.stringify(db.getMongo().getDBs())'
Last 10 lines of output were:
bash: mongo: command not found
|
Run tests:
spec/acceptance/database_spec.rb#L32
mongodb_database creating a database with custom port works with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_121551830.pp.i81HI8
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Mongodb::Client] is already declared; cannot redeclare (file: /tmp/apply_manifest_121551830.pp.i81HI8, line: 4) (file: /tmp/apply_manifest_121551830.pp.i81HI8, line: 4, column: 14) on node centos8-64-puppet7.example.com
|
Run tests:
spec/acceptance/database_spec.rb#L52
mongodb_database creating a database with custom port creates the database
Failure/Error: shell("mongo testdb1 --port 27018 --eval 'EJSON.stringify(db.getMongo().getDBs())'")
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 127 running:
mongo testdb1 --port 27018 --eval 'EJSON.stringify(db.getMongo().getDBs())'
Last 10 lines of output were:
bash: mongo: command not found
|
Run tests:
spec/acceptance/mongos_spec.rb#L10
mongodb::mongos class installation works with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_121553613.pp.QKhc3M
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Mongodb::Client] is already declared; cannot redeclare (file: /tmp/apply_manifest_121553613.pp.QKhc3M, line: 7) (file: /tmp/apply_manifest_121553613.pp.QKhc3M, line: 7, column: 12) on node centos8-64-puppet7.example.com
|
Run tests:
spec/acceptance/mongos_spec.rb#L29
mongodb::mongos class installation Package "mongodb-org-server" is expected to be installed
Failure/Error: it { is_expected.to be_installed }
expected Package "mongodb-org-server" to be installed
|
Run tests:
spec/acceptance/mongos_spec.rb#L33
mongodb::mongos class installation File "/etc/mongos.conf" is expected to be file
Failure/Error: it { is_expected.to be_file }
expected `File "/etc/mongos.conf".file?` to be truthy, got false
|
Run tests:
spec/acceptance/mongos_spec.rb#L37
mongodb::mongos class installation Service "mongos" is expected to be enabled
Failure/Error: it { is_expected.to be_enabled }
expected Service "mongos" to be enabled
|
Run tests:
spec/acceptance/mongos_spec.rb#L38
mongodb::mongos class installation Service "mongos" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "mongos" to be running
|
Run tests:
spec/acceptance/mongos_spec.rb#L42
mongodb::mongos class installation Port "27017" is expected to be listening
Failure/Error: it { is_expected.to be_listening }
expected Port "27017" to be listening
|
Loading