Page MenuHomeSoftware Heritage

README.md
No OneTemporary

README.md

# Puppet Redis
## Build status
[![Build Status](https://travis-ci.org/arioch/puppet-redis.png?branch=master)](https://travis-ci.org/arioch/puppet-redis)
## Example usage
### Standalone
class {
'redis':;
}
### Master node
class {
'redis':
bind => '10.0.1.1';
#masterauth => 'secret';
}
### Slave node
class {
'redis':
bind => '10.0.1.2',
slaveof => '10.0.1.1 6379';
#masterauth => 'secret';
}
### Manage repositories
Disabled by default but if you really want the module to manage the required
repositories you can use this snippet:
class {
'redis':
manage_repo => true,
}
## Unit testing
Plain RSpec:
$ rake spec
Using bundle:
$ bundle exec rake spec
Test against a specific Puppet or Facter version:
$ PUPPET_VERSION=3.2.1 bundle update && bundle exec rake spec
$ PUPPET_VERSION=2.7.19 bundle update && bundle exec rake spec
$ FACTER_VERSION=1.6.8 bundle update && bundle exec rake spec

File Metadata

Mime Type
text/plain
Expires
Jun 4 2025, 6:59 PM (10 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3390931

Event Timeline