{"id":15013978,"url":"https://github.com/voxpupuli/puppet-redis","last_synced_at":"2026-03-13T14:31:41.566Z","repository":{"id":4662161,"uuid":"5808081","full_name":"voxpupuli/puppet-redis","owner":"voxpupuli","description":"Puppet Module to manage Redis","archived":false,"fork":false,"pushed_at":"2026-02-12T21:31:53.000Z","size":1356,"stargazers_count":40,"open_issues_count":22,"forks_count":193,"subscribers_count":42,"default_branch":"master","last_synced_at":"2026-02-13T05:59:55.018Z","etag":null,"topics":["centos-puppet-module","debian-puppet-module","hacktoberfest","linux-puppet-module","puppet","redhat-puppet-module","ubuntu-puppet-module"],"latest_commit_sha":null,"homepage":"https://forge.puppet.com/puppet/redis","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/voxpupuli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"vox-pupuli","github":"voxpupuli"}},"created_at":"2012-09-14T10:42:59.000Z","updated_at":"2026-02-12T21:31:57.000Z","dependencies_parsed_at":"2023-12-15T04:04:20.750Z","dependency_job_id":"8e32a3ca-fb3c-427a-baba-af18ce1762ce","html_url":"https://github.com/voxpupuli/puppet-redis","commit_stats":{"total_commits":649,"total_committers":121,"mean_commits":5.363636363636363,"dds":0.8335901386748844,"last_synced_commit":"fd9cb3ffb4179e54c4295b58ea2929624d16a172"},"previous_names":["arioch/puppet-redis"],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/voxpupuli/puppet-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voxpupuli","download_url":"https://codeload.github.com/voxpupuli/puppet-redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpupuli%2Fpuppet-redis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30468281,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["centos-puppet-module","debian-puppet-module","hacktoberfest","linux-puppet-module","puppet","redhat-puppet-module","ubuntu-puppet-module"],"created_at":"2024-09-24T19:45:01.475Z","updated_at":"2026-03-13T14:31:41.548Z","avatar_url":"https://github.com/voxpupuli.png","language":"Ruby","funding_links":["https://opencollective.com/vox-pupuli","https://github.com/sponsors/voxpupuli"],"categories":[],"sub_categories":[],"readme":"# Puppet Redis\n\n[![License](https://img.shields.io/github/license/voxpupuli/puppet-redis.svg)](https://github.com/voxpupuli/puppet-redis/blob/master/LICENSE)\n[![CI](https://github.com/voxpupuli/puppet-redis/actions/workflows/ci.yml/badge.svg)](https://github.com/voxpupuli/puppet-redis/actions/workflows/ci.yml)\n[![Code Coverage](https://coveralls.io/repos/github/voxpupuli/puppet-redis/badge.svg?branch=master)](https://coveralls.io/github/voxpupuli/puppet-redis)\n[![Puppet Forge](https://img.shields.io/puppetforge/v/puppet/redis.svg)](https://forge.puppetlabs.com/puppet/redis)\n[![Puppet Forge - downloads](https://img.shields.io/puppetforge/dt/puppet/redis.svg)](https://forge.puppetlabs.com/puppet/redis)\n[![Puppet Forge - endorsement](https://img.shields.io/puppetforge/e/puppet/redis.svg)](https://forge.puppetlabs.com/puppet/redis)\n[![Puppet Forge - scores](https://img.shields.io/puppetforge/f/puppet/redis.svg)](https://forge.puppetlabs.com/puppet/redis)\n\n## Example usage\n\n### Standalone\n\n```puppet\ninclude redis\n```\n\n### Master node\n\n```puppet\nclass { 'redis':\n  bind =\u003e '10.0.1.1',\n}\n```\n\nWith authentication\n\n```puppet\nclass { 'redis':\n  bind       =\u003e '10.0.1.1',\n  masterauth =\u003e 'secret',\n}\n```\n\n### Slave node\n\n```puppet\nclass { 'redis':\n  bind    =\u003e '10.0.1.2',\n  slaveof =\u003e '10.0.1.1 6379',\n}\n```\n\nWith authentication\n\n```puppet\nclass { 'redis':\n  bind       =\u003e '10.0.1.2',\n  slaveof    =\u003e '10.0.1.1 6379',\n  masterauth =\u003e 'secret',\n}\n```\n\n### Redis 3.0 Clustering\n\n```puppet\nclass { 'redis':\n  bind                 =\u003e '10.0.1.2',\n  appendonly           =\u003e true,\n  cluster_enabled      =\u003e true,\n  cluster_config_file  =\u003e 'nodes.conf',\n  cluster_node_timeout =\u003e 5000,\n}\n```\n\n### Multiple instances\n\n\n```puppet\n$listening_ports = [6379,6380,6381,6382]\n\nclass { 'redis':\n  default_install =\u003e false,\n  service_enable  =\u003e false,\n  service_ensure  =\u003e 'stopped',\n}\n\n$listening_ports.each |$port| {\n  $port_string = sprintf('%d',$port)\n  redis::instance { $port_string:\n    service_enable =\u003e true,\n    service_ensure =\u003e 'running',\n    port           =\u003e $port,\n    bind           =\u003e $facts['networking']['ip'],\n    dbfilename     =\u003e \"${port}-dump.rdb\",\n    appendfilename =\u003e \"${port}-appendonly.aof\",\n    appendfsync    =\u003e 'always',\n    require        =\u003e Class['Redis'],\n  }\n}\n```\n\n### Manage repositories\n\nDisabled by default but if you really want the module to manage the required\nrepositories you can use this snippet:\n\n```puppet\nclass { 'redis':\n  manage_repo =\u003e true,\n}\n```\n\nOn Ubuntu, you can use a PPA by using the `ppa_repo` parameter:\n\n```puppet\nclass { 'redis':\n  manage_repo =\u003e true,\n  ppa_repo    =\u003e 'ppa:rwky/redis',\n}\n```\n\n**Warning** note that PPA usage requires [puppetlabs/apt](https://forge.puppet.com/puppetlabs/apt) on Ubuntu distros\n\n### Redis Sentinel\n\nOptionally install and configuration a redis-sentinel server.\n\nWith default settings:\n\n```puppet\ninclude redis::sentinel\n```\n\nWith adjustments:\n\n```puppet\nclass { 'redis::sentinel':\n  master_name      =\u003e 'cow',\n  redis_host       =\u003e '192.168.1.5',\n  failover_timeout =\u003e 30000,\n}\n```\n\nIf installation without redis-server is desired, set `manage_redis` parameter to false, i.e\n```puppet\nclass { 'redis::sentinel':\n  ...\n  manage_redis =\u003e false,\n  ...\n}\n```\n\n### Soft dependency\n\nWhen managing the repo, it needs [puppetlabs/apt](https://forge.puppet.com/puppetlabs/apt).\n\nFor administration of sysctl it depends on [herculesteam/augeasproviders_sysctl](https://forge.puppet.com/herculesteam/augeasproviders_sysctl).\n\n## `redis::get()` function\n\nThis function is used to get data from redis.\nYou must have the 'redis' gem installed on your puppet master.\n\nFunctions are documented in [REFERENCE.md](REFERENCE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpupuli%2Fpuppet-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoxpupuli%2Fpuppet-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpupuli%2Fpuppet-redis/lists"}