Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 0ade42f

Browse files
committed
bump v0.3.2
1 parent bf00fcc commit 0ade42f

File tree

5 files changed

+46
-31
lines changed

5 files changed

+46
-31
lines changed

.kitchen.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,24 @@
22
#driver:
33
# name: docker
44
# dockerfile: test/Dockerfile-centos66
5-
# provision_command: curl -L http://www.chef.io/chef/install.sh | bash
6-
7-
driver_config:
8-
publish_all: true
5+
# provision_command: curl -L http://www.chef.io/chef/install.sh | bash
6+
# driver_config:
7+
# publish_all: true
98

109
platforms:
11-
- name: centos-6.6
10+
- name: centos-5
11+
- name: centos-6
12+
- name: centos-7
13+
- name: fedora
14+
- name: ubuntu-12
15+
run_list:
16+
- recipe[apt]
17+
- name: ubuntu-14
18+
run_list:
19+
- recipe[apt]
20+
- name: debian
21+
run_list:
22+
- recipe[apt]
1223

1324
provisioner:
1425
name: chef_zero

Berksfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ metadata
55
group :integration do
66
cookbook 'ellktest', path: './test/cookbooks/ellktest'
77
# until https://github.com/hw-cookbooks/runit/issues/142
8-
cookbook 'runit', '~> 1.5.18'
8+
cookbook 'runit', '= 1.5.18'
99
# cookbook 'runit', git: "https://github.com/hw-cookbooks/runit.git", ref: "dev"
1010
end

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ ellk CHANGELOG
33

44
This file is used to list changes made in each version of the ellk cookbook.
55

6+
7+
0.3.2
8+
-----
9+
- Jacob Dearing - Cosmtic updates and Berkshelf pinning to avoid bug in Runit
10+
- https://github.com/dearing/ellk/issues/22
11+
612
0.3.0
713
-----
814
- Jacob Dearing - Release-Ready for feedback. :8ball:

README.md

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,37 @@
11
ELLK Cookbook
22
============
33

4-
[![forthebadge](http://forthebadge.com/images/badges/built-with-love.svg)](http://forthebadge.com)
5-
64
hack friendly: Elasticsearch, Logstash, Logstash-forwarder and Kibana
75

86
*note: expects consumer to install java and handle certs*
97

10-
Support and Tested
11-
------------
12-
centos66
8+
Works with anything [ARK](https://github.com/burtlo/ark) and [RUNIT](https://github.com/hw-cookbooks/runit) can handle.
139

1410
Requirements
1511
------------
1612
- chef 11+
1713
- some kind of java
18-
- see [metadata](/metadata.rb) for complexity
14+
- see [metadata](https://github.com/dearing/ellk/metadata.rb) for complexity
1915

2016
About
2117
------------
22-
The mindset for this creation is that logstash-forwarder is pleasant enough
23-
to cast out to all your resident nodes and since messing with templates is a pain,
24-
it allows you to just provide a hash to template out the configuration. Making
25-
recipes easier to configure with.
26-
27-
Next in the chain are the `logstash` nodes. Typically, I'd imagine them to be 1:1 with all
28-
`elasticsearch` nodes also created by this LWRP; so `localhost` is a default output. Otherwise,
29-
the matra of this design is if defaults don't work, `source` your consuming cookbook with your own
30-
templates copied from this cookbook. Pass any optional config vars you want in your templaes with
31-
`conf_options` attribute and hack away.
32-
33-
This is hack friendly and mainly focused on getting you a framework
34-
to work by. The heavy lifting comes from ARK and RUNIT cookbooks; everything else is template
35-
manipulation. Any discovery trickeness should be handled at the consuming recipe.
36-
37-
See [ellktest](/test/cookbooks/ellktest/recipes/default.rb) as an example.
18+
The heavy lifting comes from [ARK](https://github.com/burtlo/ark) and [RUNIT](https://github.com/hw-cookbooks/runit) cookbooks with a focus around being able to pass optional configurations via merged hashsets for templates and environment variable sets. Meditate on the idea that this library is simply providing a common installation and templating for the 4 projects. It expects you to do all the tweaking and configuring as needed because attempting to account for all is untenable. The opinion is then that you would want logstash-forwarder on all nodes communicating to your logstash endpoints. Logstash-forwarder is overloaded to accept a hash for the logs it will harvert as an attribute making it easy to use in recipes without fumbling with templates. The defaults then expect that logstash would remain resident along all elasticsearch nodes which finally has an interface via kibana. Beyond this, inheriting templates and customizing the configurations and security is up to you.
19+
20+
The default installations are:
21+
```
22+
elasticsearch = 1.7.0 // JAVA
23+
logstash = 1.5.3 // RUBY
24+
logstash-forwarder = 0.4.0 // GO
25+
kibana = 4.1.1 // NODEJS
26+
```
27+
You can override any of these by passing the url for the zip/tar package, a checksum (sha256) and a version to tag is by. See the resource files in the libraries folder for the accepted attributes.
28+
29+
See [ellktest](https://github.com/dearing/ellk/test/cookbooks/ellktest/recipes/default.rb) for examples and flexibility..
30+
31+
TODO
32+
------------
33+
see [issues](https://github.com/dearing/ellk/issues)
34+
3835

3936
Contributing
4037
------------

metadata.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
maintainer 'Jacob Dearing'
33
maintainer_email 'jacob.dearing@gmail.com'
44
license 'MIT'
5-
description 'Installs/Configures ELLK'
5+
description 'Library to handle Elasticsearch, Logstash, Logstash-Forwarder & Kibana'
66
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7-
version '0.3.1'
7+
version '0.3.2'
88

9-
%w(ubuntu debian gentoo centos redhat amazon scientific oracle enterpriseenterprise).each do |os|
9+
# retsricted only to runit and ark really
10+
%w(ubuntu debian centos redhat amazon scientific oracle enterpriseenterprise).each do |os|
1011
supports os
1112
end
1213

0 commit comments

Comments
 (0)