forked from voxpupuli/puppet-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure the sentinel service is running
Note the commented out lines in the sentinel.pp for the config_dir and log_file resources. If these are there we get duplicate resources. A few options to deal with this: * Not worry about it: the dpkg and rpm packages make sure they are there anyway, we're really just insuring existence of default things. This only becomes a problem if someone wants to write log files and config files in unusual places, but if that's the case they are probably managing that anyway. * Extract the conflicting resources to their own classes which both redis and redis-sentinel use. This gets complicated in the face of the way redis::params is used as a super class and other inclusions are done. * Require stdlib and use ensure_resource (untested, but based on reading the docs it seems like it ought to work). I'm inclined to the former. Still missing and to do: * confirm system restart on config file changes * flesh out the tests * implement monitoring of multiple masters (add loop to the conf file template and change data structure)
- Loading branch information
Chris Dent
committed
Dec 11, 2014
1 parent
6dd0fdc
commit 8206296
Showing
3 changed files
with
38 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters