|
1 | | -# @summary Class for setting cross-class global overrides. See README.md for more details. |
| 1 | +# @summary Class for setting cross-class global overrides. |
| 2 | +# |
| 3 | +# @example Use a specific MongoDB version to install from the community repository. |
| 4 | +# |
| 5 | +# class {'mongodb::globals': |
| 6 | +# manage_package_repo => true, |
| 7 | +# repo_version => '4.4', |
| 8 | +# } |
| 9 | +# -> class {'mongodb::client': } |
| 10 | +# -> class {'mongodb::server': } |
| 11 | +# |
| 12 | +# @example Use a specific MongoDB version to install from the enterprise repository. |
| 13 | +# |
| 14 | +# class {'mongodb::globals': |
| 15 | +# manage_package_repo => true, |
| 16 | +# repo_version => '4.4', |
| 17 | +# use_enterprise_repo => true, |
| 18 | +# } |
| 19 | +# -> class {'mongodb::client': } |
| 20 | +# -> class {'mongodb::server': } |
| 21 | +# |
| 22 | +# @example To disable managing of repository, but still enable managing packages. |
| 23 | +# |
| 24 | +# class {'mongodb::globals': |
| 25 | +# manage_package_repo => false, |
| 26 | +# manage_package => true, |
| 27 | +# } |
| 28 | +# -> class {'mongodb::server': } |
| 29 | +# -> class {'mongodb::client': } |
2 | 30 | # |
3 | 31 | # @param server_package_name |
| 32 | +# This setting can be used to override the default MongoDB server package name. |
| 33 | +# If not specified, the module will use whatever package name is the default for your OS distro. |
| 34 | +# |
4 | 35 | # @param client_package_name |
| 36 | +# This setting can be used to specify the name of the client package that should be installed. |
| 37 | +# If not specified, the module will use whatever service name is the default for your OS distro. |
| 38 | +# |
5 | 39 | # @param mongod_service_manage |
| 40 | +# This setting can be used to override the default management of the mongod service. |
| 41 | +# By default the module will manage the mongod process. |
6 | 42 | # @param service_enable |
| 43 | +# This setting can be used to specify if the service should be enable at boot |
| 44 | +# |
7 | 45 | # @param service_ensure |
| 46 | +# This setting can be used to specify if the service should be running |
| 47 | +# |
8 | 48 | # @param service_name |
| 49 | +# This setting can be used to override the default MongoDB service name. |
| 50 | +# If not specified, the module will use whatever service name is the default for your OS distro. |
| 51 | +# |
9 | 52 | # @param service_provider |
| 53 | +# This setting can be used to override the default MongoDB service provider. |
| 54 | +# If not specified, the module will use whatever service provider is the default for your OS distro. |
| 55 | +# |
10 | 56 | # @param service_status |
| 57 | +# This setting can be used to override the default status check command for your MongoDB service. |
| 58 | +# If not specified, the module will use whatever service name is the default for your OS distro. |
| 59 | +# |
11 | 60 | # @param user |
| 61 | +# This setting can be used to override the default MongoDB user and owner of the service and related files in the file system. |
| 62 | +# If not specified, the module will use the default for your OS distro. |
| 63 | +# |
12 | 64 | # @param group |
| 65 | +# This setting can be used to override the default MongoDB user group to be used for related files in the file system. |
| 66 | +# If not specified, the module will use the default for your OS distro. |
| 67 | +# |
13 | 68 | # @param ipv6 |
| 69 | +# This setting is used to configure MongoDB to turn on ipv6 support. |
| 70 | +# If not specified and ipv6 address is passed to MongoDB bind_ip it will just fail. |
| 71 | +# |
14 | 72 | # @param bind_ip |
15 | | -# @param version Version of mongodb to install |
16 | | -# @param repo_version Version of mongodb repo to install |
17 | | -# @param manage_package_repo If `true` configure upstream mongodb repos |
| 73 | +# This setting can be used to configure MonogDB process to bind to and listen for connections from applications on this address. |
| 74 | +# If not specified, the module will use the default for your OS distro. |
| 75 | +# Note: This value should be passed as an array. |
| 76 | +# |
| 77 | +# @param version |
| 78 | +# The version of MonogDB to install/manage. This is needed when managing repositories. |
| 79 | +# If not specified, the module will use the default for your OS distro. |
| 80 | +# |
| 81 | +# @param repo_version |
| 82 | +# The version of the package repo. |
| 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 | +# |
18 | 87 | # @param manage_package |
| 88 | +# wgether this module willm manage the mongoDB server package |
| 89 | +# |
19 | 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 | +# |
20 | 94 | # @param proxy_username |
| 95 | +# This sets the username for the proxyserver, should authentication be required. |
| 96 | +# |
21 | 97 | # @param proxy_password |
| 98 | +# This sets the password for the proxyserver, should authentication be required |
| 99 | +# |
22 | 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 | +# |
23 | 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 | +# |
24 | 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 | +# |
25 | 112 | # @param pidfilemode |
| 113 | +# The file mode of the pid file |
| 114 | +# |
26 | 115 | # @param manage_pidfile |
| 116 | +# If true, the pidfile will be managed by puppet |
27 | 117 | # |
28 | 118 | class mongodb::globals ( |
29 | 119 | $server_package_name = undef, |
|
0 commit comments