/usr/share/puppet/modules.available/puppetlabs-mongodb/manifests/client.pp is in puppet-module-puppetlabs-mongodb 0.7.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Class for installing a MongoDB client shell (CLI).
#
# == Parameters
#
# [ensure] Desired ensure state of the package. Optional.
# Defaults to 'true'
#
# [package_name] Name of the package to install the client from. Default
# is repository dependent.
#
class mongodb::client (
$ensure = $mongodb::params::ensure_client,
$package_name = $mongodb::params::client_package_name,
) inherits mongodb::params {
case $::osfamily {
'RedHat', 'Linux': {
class { 'mongodb::client::install': }
}
'Debian': {
warning ('Debian client is included by default with server. Please use ::mongodb::server to install the mongo client for Debian family systems.')
}
default: {
# no action taken, failure happens in params.pp
}
}
}
|