Puppet Class: mongodb::client
- Inherits:
- mongodb::params
- Defined in:
- manifests/client.pp
Overview
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.
11 12 13 14 15 16 17 18 |
# File 'manifests/client.pp', line 11
class mongodb::client (
$ensure = $mongodb::params::package_ensure_client,
$package_name = $mongodb::params::client_package_name,
) inherits mongodb::params {
anchor { '::mongodb::client::start': }
-> class { '::mongodb::client::install': }
-> anchor { '::mongodb::client::end': }
}
|