Remove single quotes around variable
Single quotes around variable, meant that it was checking for a package literally called '$::redis::package_name', rather than the actual package_name, passed to the redis class.
Support testing on Rubies < 2.0.0
Add puppetversion fact needed for apt on Debian
* Move pidfile settings from global section as a name of pidfile on FreeBSD platform is different * Move workdir settings from global section as a database on FreeBSD platform placed on different place
Consolidate Travis and testing boilerplate
* Mainly from voxpupuli’s module sync * Simplified Travis Matrix * Updated Rakefile with options
``` manifests/config.pp - FIXED: missing trailing comma after last element on line 74 manifests/init.pp - FIXED: class included by relative name on line 599 manifests/init.pp - FIXED: class included by relative name on line 600 manifests/init.pp - FIXED: class included by relative name on line 601 manifests/init.pp - FIXED: class included by relative name on line 602 manifests/preinstall.pp - FIXED: class included by relative name on line 58 manifests/preinstall.pp - FIXED: class included by relative name on line 73 ```
Merge pull request #115 from petems/consolidate_travis_and_testing
Consolidate travis and testing
Merge pull request #117 from petems/add_save_interval_squash
Add save interval squash
Redis 3.2 introduced 'protected-mode' to enhance security. The feature introduces an error in the sentinels when trying to connect from non loopback interface :
```
DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to clients....
```
Fix adds 'bind' to the sentinel template in order to allow the sentinels to communicate.
class { 'redis::sentinel':
sentinel_bind => '0.0.0.0',
}
```* Update apt module for new changes
* Add Beaker docker configs * Update spec_helper_acceptance with required changes * Update serverspec specs * Pin Beaker version
Merge pull request #122 from petems/fix_beaker_setting
Fix Beaker settings
Merge pull request #124 from petems/speed_up_travis
Add fast finish to Travis
Merge pull request #121 from petems/dotdeb_key_issue
Fixes gpg key for DotDeb
Merge pull request #120 from petems/sent_bind_address_rebase
Sent bind address rebase
Changes templates to use scope
* No longer need to re-scope them to the config class * Use scope lookup for variables * https://docs.puppet.com/puppet/latest/reference/lang_template_erb.html#scopevariable-or-scopelookupvarvariable
Merge pull request #101 from rorybrowne/patch-1
Remove single quotes around variable
* Right now package is checked with a defined function * If user doesn’t want to manage the package or is managing somewhere else, they should use the parameter not to manage it
* Also add Beaker docker jobs for acceptance testing Redis more now we’ve slimmed down the unit tests
Merge pull request #125 from petems/even_faster_travis_with_beaker
Speed up Travis even more
Move Repo for RHEL systems to EPEL
* powerstack.org no longer exists * Redis is now in EPEL Closes #103
Changed default service_hasstatus variable from false to true.
* Fixing spec tests for redis-sentinel hasstatus.
Updates docker beaker settings
* Adds installation of apt ssl requirements for Deb-OS's * Adds locale generation to Debian docker instance * Updates Ubuntu locale generation whole hog
Adds acceptance test for checking redis working
* Basic health check: `redis-cli ping` will respond `PONG` if working
Merge pull request #134 from petems/refactor_unit_tests
Refactor unit tests
Merge pull request #133 from petems/update_acceptance_test
Update acceptance tests
adding /var/run/redis for Debian based hosts
* Fixes failing beaker test * Add spec for new setting for Debian
Merge pull request #135 from petems/fix_debian_runfolder_issue
adding /var/run/redis for Debian based hosts
Merge pull request #123 from petems/fix_package_installation
Changes package installation
Merge pull request #119 from petems/fix_template_variables
Changes templates to use scope
Adds redis-server version fact
* Will be useful in the future to only allow 3.3+ config on newer packages * Also useful for seeing the version of the redis package easily
Adding service ensure parameter to sentinel manifest to be able to
define sentinel process status independently