Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Correcting peer configuration details on README and few typos.
Browse files Browse the repository at this point in the history
Adding upper bounds for dependencies as recommended by Puppet Forge.
  • Loading branch information
venushka committed Feb 25, 2017
1 parent 3429f33 commit a2e8b81
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Installs and configures NuoDB database.

This module can install and configure NuoDB with a minimal set of parameters.

It is highly recommened that you at least set your own ``domainPassword`` to make sure your database does not use the default password (``ch@ngeMe``) povided by this module.
It is highly rerecommendedhat you at least set your own ``domainPassword`` to make sure your database does not use the default password (``ch@ngeMe``) poprovidedy this module.

If you are not using Hiera, to setup NuoDB with the default parameters, just include the module.

Expand All @@ -38,13 +38,13 @@ class { ::nuodb:

#### With Hiera

All the configuration data required for this module can be provied by Hiera, so just including the module should suffice in the in the Puppet code.
All the configuration data required for this module can be prprovidedy Hiera, so just including the module should suffice in the in the Puppet code.

```puppet
include ::nuodb
```

In Hiera, it is recommened to at least set the following.
In Hiera, it is rerecommendedo at least set the following.

```yaml
nuodb::config_overrides:
Expand Down Expand Up @@ -86,7 +86,7 @@ nuodb::config_overrides:
```puppet
class { ::nuodb:
manage_java => false,
manage_java => false,
}
```

Expand All @@ -104,13 +104,13 @@ nuodb::manage_java: false
When using the ``config_overrides`` parameter, this will get merged with ``config_defaults`` to determine the final set of properties to set, where values defined in ``config_overrides`` will always win.
For example, to set the ``ipAddressOfExistingMachineToConnectTo`` propoerty in the ``default.properties`` file in addition to all the defaults provided by the module,
For example, to set the ``peer`` propoerty in the ``default.properties`` file in addition to all the defaults provided by the module,
```puppet
class { ::nuodb:
config_overrides => {
domainPassword => 'mySuperSecretPassword',
ipAddressOfExistingMachineToConnectTo => '192.168.1.20',
domainPassword => 'mySuperSecretPassword',
peer => '192.168.1.20',
},
}
```
Expand All @@ -124,7 +124,7 @@ include ::nuodb
```yaml
nuodb::config_overrides:
domainPassword: mySuperSecretPassword
ipAddressOfExistingMachineToConnectTo: 192.168.1.20
peer: 192.168.1.20
```
### To not use any default values provided by this module for the default.properties file
Expand Down
8 changes: 4 additions & 4 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "alfasystems-nuodb",
"version": "0.2.0",
"version": "0.2.1",
"author": "alfasystems",
"summary": "Installs, configures and manages NuoDB service.",
"license": "Apache-2.0",
Expand All @@ -12,9 +12,9 @@
"database"
],
"dependencies": [
{ "name": "puppetlabs-stdlib", "version_requirement":">= 3.0.0" },
{ "name": "puppetlabs-java", "version_requirement":">= 1.2.0" },
{ "name": "alexharvey-disable_transparent_hugepage", "version_requirement":">= 1.2.1" }
{ "name": "puppetlabs-stdlib", "version_requirement":">= 3.0.0 < 5.0.0" },
{ "name": "puppetlabs-java", "version_requirement":">= 1.2.0 < 2.0.0" },
{ "name": "alexharvey-disable_transparent_hugepage", "version_requirement":">= 1.2.1 < 2.0.0" }
],
"operatingsystem_support": [
{ "operatingsystem": "RedHat", "operatingsystemrelease": [ "7" ] },
Expand Down

0 comments on commit a2e8b81

Please sign in to comment.