Skip to content

Commit

Permalink
Release 8.1.0
Browse files Browse the repository at this point in the history
Co-authored-by: Christos Papageorgiou <christos.papageorgioy@gmail.com>
Signed-off-by: Christos Papageorgiou <christos.papageorgioy@gmail.com>
  • Loading branch information
smortex and root-expert committed Aug 29, 2021
1 parent f153f4e commit 9305ccb
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 14 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
Each new release typically also includes the latest modulesync defaults.
These should not affect the functionality of the module.

## [v8.1.0](https://github.com/voxpupuli/puppet-redis/tree/v8.1.0) (2021-08-29)

[Full Changelog](https://github.com/voxpupuli/puppet-redis/compare/v8.0.0...v8.1.0)

**Implemented enhancements:**

- Ability to disable slowlog\_log\_slower\_than [\#404](https://github.com/voxpupuli/puppet-redis/issues/404)
- Allow disable to disable slow log [\#414](https://github.com/voxpupuli/puppet-redis/pull/414) ([root-expert](https://github.com/root-expert))
- Use Puppet-Datatype Sensitive for $masterauth and $auth\_pass [\#403](https://github.com/voxpupuli/puppet-redis/pull/403) ([cocker-cc](https://github.com/cocker-cc))

**Merged pull requests:**

- Allow stdlib 8.0.0 [\#411](https://github.com/voxpupuli/puppet-redis/pull/411) ([smortex](https://github.com/smortex))

## [v8.0.0](https://github.com/voxpupuli/puppet-redis/tree/v8.0.0) (2021-07-24)

[Full Changelog](https://github.com/voxpupuli/puppet-redis/compare/v7.0.0...v8.0.0)
Expand Down
44 changes: 31 additions & 13 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repositories.

### Functions

* [`redis::get`](#redisget): ```
* [`redis::get`](#redisget): Returns the value of the key being looked up or `undef` if the key does not exist.

### Data types

Expand Down Expand Up @@ -474,7 +474,7 @@ Default value: ``false``

##### <a name="masterauth"></a>`masterauth`

Data type: `Optional[String[1]]`
Data type: `Optional[Variant[String[1], Sensitive[String[1]]]]`

If the master is password protected (using the "requirepass" configuration

Expand Down Expand Up @@ -558,7 +558,7 @@ Data type: `String[1]`

Default action for package.

Default value: `'present'`
Default value: `'installed'`

##### <a name="package_name"></a>`package_name`

Expand Down Expand Up @@ -778,7 +778,7 @@ Default value: ``undef``

##### <a name="slowlog_log_slower_than"></a>`slowlog_log_slower_than`

Data type: `Integer[0]`
Data type: `Integer[-1]`

Tells Redis what is the execution time, in microseconds, to exceed in order
for the command to get logged.
Expand Down Expand Up @@ -1008,13 +1008,13 @@ Note that this class requires the herculesteam/augeasproviders_sysctl module.

#### Examples

#####
#####

```puppet
include redis::administration
```

#####
#####

```puppet
class {'redis::administration':
Expand Down Expand Up @@ -1121,7 +1121,7 @@ The following parameters are available in the `redis::sentinel` class:

##### <a name="auth_pass"></a>`auth_pass`

Data type: `Optional[String[1]]`
Data type: `Optional[Variant[String[1], Sensitive[String[1]]]]`

The password to use to authenticate with the master and slaves.

Expand Down Expand Up @@ -1379,7 +1379,7 @@ multiple redis instances on one machine without conflicts

#### Examples

#####
#####

```puppet
redis::instance {'6380':
Expand Down Expand Up @@ -1723,7 +1723,7 @@ Default value: `$redis::log_level`

##### <a name="masterauth"></a>`masterauth`

Data type: `Optional[String[1]]`
Data type: `Optional[Variant[String[1], Sensitive[String[1]]]]`

If the master is password protected (using the "requirepass" configuration

Expand All @@ -1739,23 +1739,23 @@ Default value: `$redis::maxclients`

##### <a name="maxmemory"></a>`maxmemory`

Data type: `Any`
Data type: `Optional[Variant[Integer, String]]`

Don't use more memory than the specified amount of bytes.

Default value: `$redis::maxmemory`

##### <a name="maxmemory_policy"></a>`maxmemory_policy`

Data type: `Any`
Data type: `Optional[String]`

How Redis will select what to remove when maxmemory is reached.

Default value: `$redis::maxmemory_policy`

##### <a name="maxmemory_samples"></a>`maxmemory_samples`

Data type: `Any`
Data type: `Optional[Variant[Integer, String]]`

Select as well the sample size to check.

Expand Down Expand Up @@ -1988,7 +1988,7 @@ Default value: `$redis::slaveof`

##### <a name="slowlog_log_slower_than"></a>`slowlog_log_slower_than`

Data type: `Integer[0]`
Data type: `Integer[-1]`

Tells Redis what is the execution time, in microseconds, to exceed in order
for the command to get logged.
Expand Down Expand Up @@ -2210,10 +2210,28 @@ Default value: ``true``

Type: Ruby 4.x API

Takes two arguments with an optional third. The first being a string
value of the key to be looked up, the second is the URL to the Redis service
and the third optional argument is a default value to be used if the lookup
fails.

example usage
```
$version = redis::get('version.myapp', 'redis://redis.example.com:6379')
$version_with_default = redis::get('version.myapp', 'redis://redis.example.com:6379', $::myapp_version)
```

#### `redis::get(String[1] $key, Redis::RedisUrl $url, Optional[String] $default)`

Takes two arguments with an optional third. The first being a string
value of the key to be looked up, the second is the URL to the Redis service
and the third optional argument is a default value to be used if the lookup
fails.

example usage
```
$version = redis::get('version.myapp', 'redis://redis.example.com:6379')
$version_with_default = redis::get('version.myapp', 'redis://redis.example.com:6379', $::myapp_version)
```

Returns: `Optional[String]` Returns the value of the key from Redis
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppet-redis",
"version": "8.0.1-rc0",
"version": "8.1.0",
"author": "Vox Pupuli",
"summary": "Redis module",
"license": "Apache-2.0",
Expand Down

0 comments on commit 9305ccb

Please sign in to comment.