Giter VIP home page Giter VIP logo

Comments (7)

petems avatar petems commented on June 23, 2024 1

@v6 I would do two things:

  1. Fork the module to add the config settings you require
  2. Open a pull-request to add those features upstream to this module 👍

from puppet-redis.

tarcinil avatar tarcinil commented on June 23, 2024

I can agree that this might be a requirement. I just implemented a standalone mode and I am getting the following error. This was a fresh install using r10k.

Starting redis-server: 
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 542
>>> 'cluster-enabled no'
Bad directive or wrong number of arguments
failed

I changed the template to use a comment as the

# Redis Cluster Settings
<% if @cluster_enabled -%>
cluster-enabled yes
cluster-config-file <%= @cluster_config_file %>
cluster-node-timeout <%= @cluster_node_timeout %>
<% else -%>
# cluster-enabled no
<% end -%>

from puppet-redis.

v6 avatar v6 commented on June 23, 2024

👍

from puppet-redis.

v6 avatar v6 commented on June 23, 2024

// , Not to be too chatty, but this issue has come up again for us.

Specifically, we need to set a cluster-slave-validity-factor of 2 for one of our applications.

http://download.redis.io/redis-stable/redis.conf

from puppet-redis.

v6 avatar v6 commented on June 23, 2024

// , In the mean time, how do you recommend that we work around this? Should we just clone the module and modify it, or use it as-is a separate module to use the ReDiS API, or just automatically set it with redis-cli -h $(facter ipaddress) CONFIG SET cluster-slave-validity-factor 2?

from puppet-redis.

v6 avatar v6 commented on June 23, 2024

// , Well, let's get started: #163

from puppet-redis.

ekohl avatar ekohl commented on June 23, 2024

Due to its age I'm going to close this issue. If there's something missing, please open a new issue.

from puppet-redis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.