Puppet Class: mongodb::client

Inherits:
mongodb::client::params
Defined in:
manifests/client.pp

Overview

Class for installing a MongoDB client shell (CLI).

Parameters

$ensure

Desired ensure state of the package.

$package_name

Name of the package to install the client from. Default is repository dependent.

Parameters:

  • ensure (String[1]) (defaults to: $mongodb::client::params::package_ensure)
  • package_name (String[1]) (defaults to: $mongodb::client::params::package_name)


10
11
12
13
14
15
16
17
18
19
# File 'manifests/client.pp', line 10

class mongodb::client (
  String[1] $ensure = $mongodb::client::params::package_ensure,
  String[1] $package_name = $mongodb::client::params::package_name,
) inherits mongodb::client::params {
  package { 'mongodb_client':
    ensure => $ensure,
    name   => $package_name,
    tag    => 'mongodb_package',
  }
}