Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename cookbook to blp-redis and update for Chef 12 resources. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ env:
matrix:
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
- INSTANCE=default-ubuntu-1204
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-ubuntu-1604

Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed
- Rename cookbook to _blp-redis_ and move under _bloomberg-cookbooks organization_.
- Custom resources modified to use the ["Chef Client" native syntax](https://docs.chef.io/custom_resources.html).
- Minimum requirement of Chef Client 12.5 (for custom resources).

### Removed
- Support for CentOS (RHEL) 5.x series.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Redis Cookbook
[![Build Status](https://img.shields.io/travis/bloomberg/redis-cookbook.svg)](https://travis-ci.org/bloomberg/redis-cookbook)
[![Code Quality](https://img.shields.io/codeclimate/github/bloomberg/redis-cookbook.svg)](https://codeclimate.com/github/bloomberg/redis-cookbook)
[![Test Coverage](https://codeclimate.com/github/bloomberg/redis-cookbook/badges/coverage.svg)](https://codeclimate.com/github/bloomberg/redis-cookbook/coverage)
[![Build Status](https://img.shields.io/travis/bloomberg-cookbooks/redis.svg)](https://travis-ci.org/bloomberg-cookbooks/redis)
[![Code Quality](https://img.shields.io/codeclimate/github/bloomberg-cookbooks/redis.svg)](https://codeclimate.com/github/bloomberg-cookbooks/redis)
[![Test Coverage](https://codeclimate.com/github/bloomberg-cookbooks/redis/badges/coverage.svg)](https://codeclimate.com/github/bloomberg-cookbooks/redis/coverage)
[![License](https://img.shields.io/badge/license-Apache_2-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)

[Application cookbook][0] which installs and configures the [Redis][1]
Expand Down
20 changes: 14 additions & 6 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@
#
# Copyright 2015-2017, Bloomberg Finance L.P.
#
default['blp-redis']['service_name'] = 'redis'
default['blp-redis']['service_user'] = 'redis'
default['blp-redis']['service_group'] = 'redis'

default['blp-redis']['sentinel']['service_name'] = 'redis-sentinel'
default['redis']['install_provider'] = 'package'

default['redis']['service_user'] = 'redis'
default['redis']['service_group'] = 'redis'
default['redis']['service_home'] = '/var/run/redis'

default['redis']['service_name'] = 'redis'
default['redis']['config_file'] = '/etc/redis.conf'
default['redis']['config'] = {}

default['redis-sentinel']['service_name'] = 'redis-sentinel'
default['redis-sentinel']['config_file'] = '/etc/redis-sentinel.conf'
default['redis-sentinel']['config'] = {}


default['blp-redis']['config'] = {}
default['blp-redis']['sentinel']['config'] = {}
2 changes: 2 additions & 0 deletions files/default/redis-server.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
path-exclude=/etc/init*
path-exclude=/etc/redis*
97 changes: 0 additions & 97 deletions libraries/redis_installation.rb

This file was deleted.

126 changes: 0 additions & 126 deletions libraries/redis_installation_archive.rb

This file was deleted.

Loading