Skip to content

Commit

Permalink
Adjust server package name to the upstream repos for debains
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan De Wit committed Jul 13, 2023
1 parent 1e922af commit 97f1c14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
$config = '/etc/mongod.conf'
$pidfilepath = pick($mongodb::globals::pidfilepath, '/var/run/mongod.pid')
} else {
$server_package_name = pick($mongodb::globals::server_package_name, 'mongodb-server')
# as of verion 5.0, we will use the upstream repo. Seems 4.4 is provided in distro repo ?
$server_package_name = pick($mongodb::globals::server_package_name, "mongodb-${mongodb::globals::edition}-server")
$service_name = pick($mongodb::globals::service_name, 'mongodb')
$config = '/etc/mongodb.conf'
$pidfilepath = $mongodb::globals::pidfilepath
Expand Down

0 comments on commit 97f1c14

Please sign in to comment.