Comments (5)
Ah ok.
In that case, you can specify that you want the standard redis service not to run:
class { '::redis':
service_ensure => 'stopped',
# or service_manage => false,
}
class { '::redis::sentinel':
master_name => 'cow',
redis_host => '192.168.1.5',
failover_timeout => 30000,
}
from puppet-redis.
@marcgascon I'm not sure I understand. If you're using redis-sentinel, you require the redis binary to run, as it's just a simlink to the redis binary but running in sentinel mode? So if you're running sentinel, you're running redis.
from puppet-redis.
So if you're running sentinel, you're running redis.
That's correct. But this module starts a redis instance in sentinel mode and a normal redis instance.
$ ps aux | grep redis
redis 20140 0.0 0.0 51280 2248 ? Ssl 11:55 0:00 /usr/bin/redis-server 127.0.0.1:6379
redis 20243 0.2 0.0 51280 3556 ? Ssl 11:55 0:00 /usr/bin/redis-sentinel 0.0.0.0:26379 [sentinel]
In my case I only want to run Sentinel. I don't want a normal redis instance on this host. But the normal instance is enabled in environments/production/modules/redis/manifests/service.pp
and there seems to be no way to disable it.
from puppet-redis.
I already tried with various parameters on the sentinel instance itself. But I never thought about simply defining an additional instance. Thank you so much!
from puppet-redis.
Additionally default_install
as a parameter can be used.
from puppet-redis.
Related Issues (20)
- Replace `slaveof` with `replicaof`
- Rediscluster on Ubuntu 20.04
- Ability to disable slowlog_log_slower_than
- redis.conf is readable by all HOT 2
- Systemd service stop issues with redis instances HOT 2
- Single instance systemd service won't start on Arch Linux HOT 3
- Systemd module is deprecated HOT 2
- ACL support is missing HOT 8
- redis installation on ubuntu 22.04 fails because /var/run/redis directory doesn't exists.
- Support deferred values for requirepass HOT 1
- save_db_to_disk = false does not work HOT 2
- `rdb_save_incremental_fsync` cannot be turned off
- Error when deploying a redis instance HOT 1
- The parameter '$slowlog_log_slower_than' must be a literal type, not a Puppet::Pops::Model::AccessExpression HOT 2
- logging into stdout is not supported HOT 1
- Use of deferred function fails due to complex types in epp HOT 2
- systemd::servicelimits is deprecated, use systemd::manage_dropin
- [10.0.0] last puppet-systemd not supported HOT 7
- Sensitive Data
- Support for Redis v6+ ACL auth HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-redis.