|
1 |
| -# Class for setting cross-class global overrides. See README.md for more |
2 |
| -# details. |
| 1 | +# @summary Class for setting cross-class global overrides. |
| 2 | +# |
| 3 | +# @example Use a more recent MongoDB version to install from the community repository. |
| 4 | +# |
| 5 | +# class {'mongodb::globals': |
| 6 | +# manage_package_repo => true, |
| 7 | +# version => '3.6', |
| 8 | +# } |
| 9 | +# -> class {'mongodb::client': } |
| 10 | +# -> class {'mongodb::server': } |
| 11 | +# |
| 12 | +# @example Install MongoDB from a custom repository. |
| 13 | +# |
| 14 | +# class {'mongodb::globals': |
| 15 | +# manage_package_repo => true, |
| 16 | +# repo_location => 'http://example.com/repo' |
| 17 | +# } |
| 18 | +# -> class {'mongodb::server': } |
| 19 | +# -> class {'mongodb::client': } |
| 20 | +# |
| 21 | +# @example To disable managing of repository, but still enable managing packages. |
| 22 | +# |
| 23 | +# class {'mongodb::globals': |
| 24 | +# manage_package_repo => false, |
| 25 | +# manage_package => true, |
| 26 | +# } |
| 27 | +# -> class {'mongodb::server': } |
| 28 | +# -> class {'mongodb::client': } |
| 29 | +# |
| 30 | +# @param server_package_name |
| 31 | +# This setting can be used to override the default MongoDB server package name. |
| 32 | +# If not specified, the module will use whatever package name is the default for your OS distro. |
| 33 | +# |
| 34 | +# @param client_package_name |
| 35 | +# This setting can be used to specify the name of the client package that should be installed. |
| 36 | +# If not specified, the module will use whatever service name is the default for your OS distro. |
| 37 | +# |
| 38 | +# @param mongod_service_manage |
| 39 | +# This setting can be used to override the default management of the mongod service. |
| 40 | +# By default the module will manage the mongod process. |
| 41 | +# @param service_enable |
| 42 | +# This setting can be used to specify if the service should be enable at boot |
| 43 | +# |
| 44 | +# @param service_ensure |
| 45 | +# This setting can be used to specify if the service should be running |
| 46 | +# |
| 47 | +# @param service_name |
| 48 | +# This setting can be used to override the default MongoDB service name. |
| 49 | +# If not specified, the module will use whatever service name is the default for your OS distro. |
| 50 | +# |
| 51 | +# @param service_provider |
| 52 | +# This setting can be used to override the default MongoDB service provider. |
| 53 | +# If not specified, the module will use whatever service provider is the default for your OS distro. |
| 54 | +# |
| 55 | +# @param service_status |
| 56 | +# This setting can be used to override the default status check command for your MongoDB service. |
| 57 | +# If not specified, the module will use whatever service name is the default for your OS distro. |
| 58 | +# |
| 59 | +# @param user |
| 60 | +# This setting can be used to override the default MongoDB user and owner of the service and related files in the file system. |
| 61 | +# If not specified, the module will use the default for your OS distro. |
| 62 | +# |
| 63 | +# @param group |
| 64 | +# This setting can be used to override the default MongoDB user group to be used for related files in the file system. |
| 65 | +# If not specified, the module will use the default for your OS distro. |
| 66 | +# |
| 67 | +# @param ipv6 |
| 68 | +# This setting is used to configure MongoDB to turn on ipv6 support. |
| 69 | +# If not specified and ipv6 address is passed to MongoDB bind_ip it will just fail. |
| 70 | +# |
| 71 | +# @param bind_ip |
| 72 | +# This setting can be used to configure MonogDB process to bind to and listen for connections from applications on this address. |
| 73 | +# If not specified, the module will use the default for your OS distro. |
| 74 | +# Note: This value should be passed as an array. |
| 75 | +# |
| 76 | +# @param version |
| 77 | +# The version of MonogDB to install/manage. This is needed when managing repositories. |
| 78 | +# If not specified, the module will use the default for your OS distro. |
| 79 | +# |
| 80 | +# @param mongosh_version |
| 81 | +# The version of MonogDB-mongosh to install/manage. This package is mandatory to make this module work. |
| 82 | +# If not specified, the module will use the default for your OS distro. |
| 83 | +# |
| 84 | +# @param manage_package_repo |
| 85 | +# Whether to use the MongoDB software repository or the OS packages (True) or a Custom repo (False) |
| 86 | +# |
| 87 | +# @param manage_package |
| 88 | +# wgether this module willm manage the mongoDB server package |
| 89 | +# |
| 90 | +# @param repo_proxy |
| 91 | +# This will allow you to set a proxy for your repository in case you are behind a corporate firewall. |
| 92 | +# Currently this is only supported with yum repositories |
| 93 | +# |
| 94 | +# @param proxy_username |
| 95 | +# This sets the username for the proxyserver, should authentication be required. |
| 96 | +# |
| 97 | +# @param proxy_password |
| 98 | +# This sets the password for the proxyserver, should authentication be required |
| 99 | +# |
| 100 | +# @param repo_location |
| 101 | +# This setting can be used to override the default MongoDB repository location. |
| 102 | +# If not specified, the module will use the default repository for your OS distro. |
| 103 | +# |
| 104 | +# @param use_enterprise_repo |
| 105 | +# When manage_package_repo is set to true, this setting indicates if it will use the Community Edition |
| 106 | +# (false, the default) or the Enterprise one (true). |
| 107 | +# |
| 108 | +# @param pidfilepath |
| 109 | +# Specify a file location to hold the PID or process ID of the mongod process. |
| 110 | +# If not specified, the module will use the default for your OS distro. |
| 111 | +# |
| 112 | +# @param pidfilemode |
| 113 | +# The file mode of the pid file |
| 114 | +# |
| 115 | +# @param manage_pidfile |
| 116 | +# If true, the pidfile will be managed by puppet |
| 117 | +# |
3 | 118 | class mongodb::globals (
|
4 | 119 | $server_package_name = undef,
|
5 | 120 | $client_package_name = undef,
|
|
0 commit comments