Version information
Start using this module
Add this module to your Puppetfile:
mod 'thomasvandoren-redis', '0.10.0'
Learn more about managing modules with a PuppetfileDocumentation
redis puppet module
Install and configure redis.
Usage
Installs redis server and client with reasonable defaults.
include redis
Installs redis server and client with version 2.6.5.
class { 'redis':
version => '2.6.5',
}
Installs version 2.4.17, listens on default port 6379 with default settings. Sets up 2nd instance on port 6900, binds to address 10.1.2.3 (instead of all available interfaces), sets max memory to 1 gigabyte, and sets a password from hiera.
class { 'redis':
version => '2.4.17',
}
redis::instance { 'redis-6900':
redis_port => '6900',
redis_bind_address => '10.1.2.3',
redis_password => hiera('redis_password'),
redis_max_memory => '1gb',
}
Development
To run the linter and spec tests locally:
bundle install --gemfile .gemfile
rake lint
rake spec
Authors
Thomas Van Doren
License
BSD
redis module for puppet
0.10.0
Default version to install is 2.8.12. Expose new parameters to redis class. - @brucem Add parameters to configure snapshotting. - @kjoconnor Fix deprecation warning in template. - @aadamovich Add support for redis 2.8. - @rickard-von-essen Add versions to module dependencies. - @yjpa7145 Updated download URL. - @coffeejunk Adds user and group configuration parameters. - @yjpa7145 Fix rubygems deprecation warning. - @yjpa7145 Disable some puppet lint warnings. Add chkconfig to init file. - @antonbabenko Add redis::instance define to allow multiple instances. - @evanstachowiak
0.0.9
Use maestrodev/wget and puppetlabs/gcc to replace some common package dependencies. - @garethr
0.0.8
Fix init script when redis_bind_address is not defined (the default).
0.0.7
Add support for parameterized listening port and bind address.
0.0.6
Add support for installing any available version.
0.0.5
Add option to install 2.6. Add spec tests.
0.0.4
It's possible to configure a password to redis setup.
0.0.3
Fix init script.
0.0.2
Change the name to redis so that module name and class name are in sync.
0.0.1
First release!
Dependencies
- maestrodev/wget (>= 1.1.0)
- puppetlabs/gcc (>= 0.0.3)
Copyright (c) 2014, Thomas Van Doren All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.