|
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 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': } |
2 | 29 | # |
3 | 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 | +# |
4 | 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 | +# |
5 | 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. |
6 | 41 | # @param service_enable |
| 42 | +# This setting can be used to specify if the service should be enable at boot |
| 43 | +# |
7 | 44 | # @param service_ensure |
| 45 | +# This setting can be used to specify if the service should be running |
| 46 | +# |
8 | 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 | +# |
9 | 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 | +# |
10 | 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 | +# |
11 | 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 | +# |
12 | 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 | +# |
13 | 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 | +# |
14 | 71 | # @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 |
| 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 repo_version |
| 81 | +# The version of the package repo. |
| 82 | +# |
| 83 | +# @param manage_package_repo |
| 84 | +# Whether to use the MongoDB software repository or the OS packages (True) or a Custom repo (False) |
| 85 | +# |
18 | 86 | # @param manage_package |
| 87 | +# wgether this module willm manage the mongoDB server package |
| 88 | +# |
19 | 89 | # @param repo_proxy |
| 90 | +# This will allow you to set a proxy for your repository in case you are behind a corporate firewall. |
| 91 | +# Currently this is only supported with yum repositories |
| 92 | +# |
20 | 93 | # @param proxy_username |
| 94 | +# This sets the username for the proxyserver, should authentication be required. |
| 95 | +# |
21 | 96 | # @param proxy_password |
| 97 | +# This sets the password for the proxyserver, should authentication be required |
| 98 | +# |
22 | 99 | # @param repo_location |
| 100 | +# This setting can be used to override the default MongoDB repository location. |
| 101 | +# If not specified, the module will use the default repository for your OS distro. |
| 102 | +# |
23 | 103 | # @param use_enterprise_repo |
| 104 | +# When manage_package_repo is set to true, this setting indicates if it will use the Community Edition |
| 105 | +# (false, the default) or the Enterprise one (true). |
| 106 | +# |
24 | 107 | # @param pidfilepath |
| 108 | +# Specify a file location to hold the PID or process ID of the mongod process. |
| 109 | +# If not specified, the module will use the default for your OS distro. |
| 110 | +# |
25 | 111 | # @param pidfilemode |
| 112 | +# The file mode of the pid file |
| 113 | +# |
26 | 114 | # @param manage_pidfile |
| 115 | +# If true, the pidfile will be managed by puppet |
27 | 116 | # |
28 | 117 | class mongodb::globals ( |
29 | 118 | $server_package_name = undef, |
|
0 commit comments