Split the redis instance logfiles by default (#217)
* Split the redis instance logfiles by default * Make sure the redis::log_file parameter is still applied when configuring the default instance * Add spec test for instance log split
* Replace tabs by spaces * Remove trailing slash from workdir definition * Default to separate workdirs for redis instances
Fix issues with missing locale for Debian box (#224)
* Output no longer contains `bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)`
Instance service improvements (#222)
* Add parameter info * Base default instance log_file path on user defined log_dir * Rename Redis instance config files and services * Updating Ruby Version for Travis
Pin version of redis gem (#235)
``` Error: Execution of '/opt/puppetlabs/puppet/bin/gem install --no-rdoc --no-ri redis' returned 1: ERROR: Error installing redis: redis requires Ruby version >= 2.2.2. ``` As seen in #230
* EPEL 6 version of Redis just jumped from 2.8 to 3.2, different location for starting binary * Also update the template version * Move /var/run directory into config * https://bugzilla.redhat.com/show_bug.cgi?id=923970
protected-mode configuration option (Redis 3.2+) (#243)
* protected-mode configuration option (Redis 3.2+) * Redis 3.2 basic new config support
get rid of getvar_emptystring function (#249)
getvar_emptystring is a clone of getvar from stdlib with the only
difference, that it returns an empty string instead of undef. But
getvar_emptystring is always used with pick which handles empty strings and
undef the same way. So there is no need at the moment for getvar_emptystring
and even if there is a need in the future it would be better to use something
like:
(getvar('dummy') == undef) ? { true: '', default: getvar('dummy') }
The reason is that since the copying of the getvar function to
getvar_emptystring the getvar function was updated to not send warnings
regarding undefined variables, but this update was never adopted into the
getvar_emptystring function. And thats the cause for issue #227Added log_level to sentinel. (#248)
Signed-off-by: Henry <h.paulissen@tmg.nl>
* Allows running of redis-cli commands via tasks * `/opt/puppetlabs/puppet/bin/bolt task run redis::redis_cli --modules /etc/puppetlabs/code/modules/ --nodes localhost --user root --password root command=ping`
Adds logic for installing redid-sentinel package (#254)
* Debian Stretch also added a separate package also: https://packages.debian.org/stretch/redis-sentinel * Closes #253
Update redis mode and group on wheezy (#252)
* This commit updates the mode for redis run directory on Debian platforms without systemd. * Without this change puppet will attempt to change the mode and group on /var/run/redis during every puppet run, which triggers a refresh.