Add standard puppet module files and .gitreview
This module has been split out from system-config, and additional files are required to create a proper puppet module. Some of the files are described in the spec: http://specs.openstack.org/openstack-infra/infra-specs/specs/puppet-modules.html Change-Id: Ie7932204cd7c7e4e26b369a34b5cc24e1b53c9e3
This commit is contained in:
parent
887529ed1d
commit
6684db07a7
4
.gitreview
Normal file
4
.gitreview
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[gerrit]
|
||||||
|
host=review.openstack.org
|
||||||
|
port=29418
|
||||||
|
project=openstack-infra/puppet-redis.git
|
30
README.md
Normal file
30
README.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# OpenStack Redis Module
|
||||||
|
|
||||||
|
Marton Kiss <marton.kiss@gmail.com>
|
||||||
|
Sebastian Marcet <smarcet@gmail.com>
|
||||||
|
|
||||||
|
# Quick Start
|
||||||
|
|
||||||
|
To install Redis server and configure it with defaults,
|
||||||
|
include the following in your manifest file:
|
||||||
|
|
||||||
|
class { 'redis':
|
||||||
|
}
|
||||||
|
|
||||||
|
# Configuration
|
||||||
|
|
||||||
|
This module supports redis version 2.2.x, 2.4.x and 2.6.x on Ubuntu
|
||||||
|
Operation Systems.
|
||||||
|
|
||||||
|
## Redis server
|
||||||
|
|
||||||
|
class { 'redis':
|
||||||
|
redis_port => '6379',
|
||||||
|
redis_bind => '127.0.0.1',
|
||||||
|
redis_password => 'mys3cr3tpassw0rd',
|
||||||
|
redis_max_memory => '1gb',
|
||||||
|
version => '2.2.12',
|
||||||
|
}
|
||||||
|
|
||||||
|
NOTE: you must specify the package version number, because the configuration
|
||||||
|
templates are different for major redis versions.
|
8
Rakefile
Normal file
8
Rakefile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
require 'rubygems'
|
||||||
|
require 'puppetlabs_spec_helper/rake_tasks'
|
||||||
|
require 'puppet-lint/tasks/puppet-lint'
|
||||||
|
PuppetLint.configuration.fail_on_warnings = true
|
||||||
|
PuppetLint.configuration.send('disable_80chars')
|
||||||
|
PuppetLint.configuration.send('disable_autoloader_layout')
|
||||||
|
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
|
||||||
|
PuppetLint.configuration.send('disable_class_parameter_defaults')
|
18
metadata.json
Normal file
18
metadata.json
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"name": "openstackci-redis",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"author": "Openstack CI",
|
||||||
|
"summary": "Puppet module for redis",
|
||||||
|
"license": "Apache 2.0",
|
||||||
|
"source": "git://git.openstack.org/openstack-infra/puppet-redis.git",
|
||||||
|
"project_page": "http://ci.openstack.org/",
|
||||||
|
"issues_url": "https://storyboard.openstack.org/#!/project/766",
|
||||||
|
"operatingsystem_support": [
|
||||||
|
{ "operatingsystem": "Ubuntu", "operatingsystemrelease": ["12.04"] }
|
||||||
|
],
|
||||||
|
"requirements": [
|
||||||
|
{ "name": "pe", "version_requirement": ">= 3.2.0 < 3.4.0" },
|
||||||
|
{ "name": "puppet", "version_requirement": "3.x" }
|
||||||
|
],
|
||||||
|
"dependencies": []
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user