Skip to content

Commit 9f50dbc

Browse files
author
Johan De Wit
committed
replace the old mongo shell with mongosh
1 parent 7fbfcd7 commit 9f50dbc

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

manifests/client/params.pp

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
$package_ensure = pick($mongodb::globals::version, 'present')
44
$manage_package = pick($mongodb::globals::manage_package, $mongodb::globals::manage_package_repo, false)
55

6-
if $manage_package {
7-
$package_name = "mongodb-${mongodb::globals::edition}-shell"
8-
} else {
9-
$package_name = $facts['os']['family'] ? {
10-
'Debian' => 'mongodb-clients',
11-
'Redhat' => "mongodb-${mongodb::globals::edition}-shell",
12-
default => 'mongodb',
13-
}
14-
}
6+
# the new mongosh package is the same for all dsitros.
7+
$package_name = 'mongodb-mongosh'
158
}

0 commit comments

Comments
 (0)