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