Forge Home

redis

Puppet module to install manage and configure redis

9,672 downloads

9,519 latest version

3.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.1 (latest)
  • 0.1.0
released Apr 23rd 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'rhoml-redis', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add rhoml-redis
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install rhoml-redis --version 0.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: redis

Documentation

rhoml/redis — version 0.1.1 Apr 23rd 2014

Puppet-redis

Overview

This puppet module allows you to easily install and configure your redis instances.

Usage

  class {
    'redis':
      daemonize                   => 'yes',
      pidfiledir                  => '/var/run/redis',
      pidfilename                 => 'redis-server.pid',
      port                        => 6379,
      timeout                     => 0,
      log_level                   => 'notice',
      logfile                     => '/opt/redis/logs/redis-server.log',
      databases                   => 16,
      saves                       => ['900', '1',
                                      '300','10',
                                      '60','10000'],
      stop_writes_on_bgsave_error => 'no',
      rdbcompression              => 'yes',
      rdbchecksum                 => 'yes',
      dbfilename                  => 'system_production.rdb',
      snapshot_dir                => '/opt/redis/data',
      slave_serve_stale_data      => 'yes',
      slave_read_only             => 'no',
      slave_priority              => 100,
      appendonly                  => 'no',
      appendfsync                 => 'everysec',
      no_appendfsync_on_rewrite   => 'no',
      auto_aof_rewrite_percentage => 100,
      auto_aof_rewrite_min_size   => '64mb',
      lua_time_limit              => 1000,
      slowlog_slower_than         => 10000,
      slowlog_max_len             => 128,
      hash_max_ziplist_entries    => 512,
      hash_max_ziplist_value      => 64,
      list_max_ziplist_entries    => 512,
      list_max_ziplist_value      => 64,
      set_max_intset_entries      => 512,
      zset_max_ziplist_entries    => 128,
      zset_max_ziplist_value      => 64,
      activerehashing             => 'yes',
      rename_commands             => ['keys',
                                      'forcekeys'],
      client_output_buffer_limits => ['normal','0 0 0',
                                      'slave','5294967296 3147483648 30',
                                      'pubsub',' 0 0 0'],
      manage_service              => true,
      shard_ident                 => '01'
  }

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Contributors