Skip to content

Commit

Permalink
rename require_redis to contain_redis to match the currently used option
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsajan committed Aug 5, 2024
1 parent e4761a0 commit 79d3493
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ class { 'redis::sentinel':
}
```

If installation without redis-server is desired, set `require_redis` parameter to false, i.e
If installation without redis-server is desired, set `contain_redis` parameter to false, i.e
```puppet
class { 'redis::sentinel':
...
require_redis => false,
contain_redis => false,
...
}
```
Expand Down
12 changes: 6 additions & 6 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1451,13 +1451,13 @@ Note that this class requires the herculesteam/augeasproviders_sysctl module.

#### Examples

#####
#####

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

#####
#####

```puppet
class {'redis::administration':
Expand Down Expand Up @@ -1509,11 +1509,11 @@ class {'redis::sentinel':
}
```

If installation without redis-server is desired, set `require_redis` parameter to false, i.e
If installation without redis-server is desired, set `contain_redis` parameter to false, i.e
```puppet
class { 'redis::sentinel':
...
require_redis => false,
contain_redis => false,
...
}
```
Expand Down Expand Up @@ -1908,7 +1908,7 @@ Data type: `Stdlib::Ensure::Service`

Default value: `'running'`

##### <a name="-redis--sentinel--require_redis"></a>`require_redis`
##### <a name="-redis--sentinel--contain_redis"></a>`contain_redis`

Data type: `Boolean`

Expand All @@ -1925,7 +1925,7 @@ multiple redis instances on one machine without conflicts

#### Examples

#####
#####

```puppet
redis::instance {'6380':
Expand Down

0 comments on commit 79d3493

Please sign in to comment.