Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/sous-chefs/kafka

Development repository for the kafka cookbook
https://github.com/sous-chefs/kafka

Update ChefSpec to v3.3.1

2e083cf1163973734954faf896eca6b6cf6a2357 authored over 10 years ago by Mathias Söderberg <[email protected]>
Add status blurb to README

be8b5f97d9a62806e0fc9cfd5d5a95185b00e64c authored over 10 years ago by Mathias Söderberg <[email protected]>
Merge pull request #21 from DataDog/zookeeper-init-pass-user

Pass user variable to Zookeeper init script.

6dcae51ce31a4d6c39809990c04e847179478db6 authored over 10 years ago by Mathias Söderberg <[email protected]>
Pass user variable to Zookeeper init script.

d046fe363201a74f111d86b131ffcb98e6c2f03f authored over 10 years ago by Conor Branagan <[email protected]>
Merge pull request #19 from mthssdrbrg/dry-recipes

Dry'ed up recipes

20b1c7e13c5aa3416ab8d9d9aa8b198416c2f0f1 authored over 10 years ago by Mathias Söderberg <[email protected]>
A few leftover `File` statements

6c6408beace05e4c90632e8f69a8ed4387313e16 authored over 10 years ago by Mathias Söderberg <[email protected]>
Prefer `%()` syntax over `""`

cf63a6c2106f5e014fa47726496689562b4fd2b9 authored over 10 years ago by Mathias Söderberg <[email protected]>
Don't validate md5 checksum if not set

But log a debug message instead.

7a070f23e2bce830d7b2614dd1582ee19f994cc3 authored over 10 years ago by Mathias Söderberg <[email protected]>
Remove `use_inline_resources` from `kafka_install` provider

948429409ccfeb4df7be6fc0517392239d4e7f83 authored over 10 years ago by Mathias Söderberg <[email protected]>
Add common boilerplate comments to LWRPs / libraries

Seems to be some kind of convention for cookbooks.

21c0c0597edd51ad2c165eb614819bc75b6112ad authored over 10 years ago by Mathias Söderberg <[email protected]>
Remove explicit `:create` in `kafka_download` LWRP

eb8ce4a4a89a3482bb6e22fdefc0dae4273a4101 authored over 10 years ago by Mathias Söderberg <[email protected]>
Consistent usage of `File` vs. `::File` in recipes

dd6f1a7b8b846a3702ac47fd9a1f333e265188c4 authored over 10 years ago by Mathias Söderberg <[email protected]>
Don't remove build_dir after install

be5a5eb10e7583e39d13192f296e4de908c8acce authored over 10 years ago by Mathias Söderberg <[email protected]>
Rename `kafka_already_installed?` to `kafka_installed?`

321a3b4a6b946ae2c1139e8acaa19be3ece5799b authored over 10 years ago by Mathias Söderberg <[email protected]>
Remove leftover `let` variables in unit tests

3794cd1356f56a2f3b3018cf11116bcb8bb61b9e authored over 10 years ago by Mathias Söderberg <[email protected]>
Extract `build_dir` to attribute

d41a356c8a373d90d647ee1ec55f0bc39117924e authored over 10 years ago by Mathias Söderberg <[email protected]>
Add `kafka_install` LWRP

Wraps a simple `execute` resource, but I'd like to think that the
recipes got a bit nicer lookin...

9ee4defebd5077121dbf7c97d24e906da4763dc7 authored over 10 years ago by Mathias Söderberg <[email protected]>
Remove unused `installed_path` variable from recipes

a3be5f811762270002b70731f12574902ad030c5 authored over 10 years ago by Mathias Söderberg <[email protected]>
Add `kafka_download` LWRP

Instead of having duplicated logic in both `binary` and `source` recipes
for downloading and val...

ffb487f09f6430c1965517e4183d42d973c51121 authored over 10 years ago by Mathias Söderberg <[email protected]>
Add helper for creating download uri for Kafka archives

f43d9ddb7ad6e0d718b0f35062e15179bd4af1f7 authored over 10 years ago by Mathias Söderberg <[email protected]>
Remove `unless` check in {binary,source} recipes

Not really necessary since everything is handled using notifications
and thus it's only the `rem...

8b0971b0148e02291b6cd5ef39a496ec7b537641 authored over 10 years ago by Mathias Söderberg <[email protected]>
Refactor strings and file paths for checking if kafka is installed

75d9dd5715ef8fb4ca614d03403cf4d49c0cd57c authored over 10 years ago by Mathias Söderberg <[email protected]>
Refactor `binary` recipe to use `build` directory as well

1cc11ac3de1d0c288a4656f48e6548a1f44dbc4e authored over 10 years ago by Mathias Söderberg <[email protected]>
Remove verbose flag (-v) from tar extract commands

da9594549272a3d4c80f606d4508bb8d7a97a31b authored over 10 years ago by Mathias Söderberg <[email protected]>
Update ChefSpec to v3.2.0

fddc69df57185fcc670933aef61dfdad254f095e authored over 10 years ago by Mathias Söderberg <[email protected]>
Explicitly use `java::default` in .kitchen.yml

Latest version of the java cookbook prints an annoying warning to use
the `default` recipe when ...

a775d5d45cab96f63ba8e9d3fdd185ffd092bed5 authored over 10 years ago by Mathias Söderberg <[email protected]>
Bump recommended java (cookbook) version to ~> 1.19

75612e972a37fa912fe195b69f4b7ce4e425328d authored over 10 years ago by Mathias Söderberg <[email protected]>
Add fedora & ubuntu to supported OSes

Plus a sneaky 'YMMV' update to README

3d328c1e9176972e30c052cb93cb0f698e3eaa3a authored over 10 years ago by Mathias Söderberg <[email protected]>
Update chefspec to v3.1.4

31dc3ba6bcf13409aa942a8886aff9fc3750d8b5 authored over 10 years ago by Mathias Söderberg <[email protected]>
Add Ruby v2.1.0 and HEAD to .travis.yml

d1d65716d25cb3ac27321bfd4da94cb6af0c73be authored almost 11 years ago by Mathias Söderberg <[email protected]>
Update copyright section in README

[ci skip]

952e4b2916a7cc85312ca39ac81a2c79ad726b86 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Make platform list a proper list in README

[ci skip]

d3535bca7b76411b995d74d05335f7928c86d2b2 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Forgot to update shared examples name in source suite

968f3c9e2ce4d6e446455daf087e3d915bc50c6b authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add require of `files_common` to `configuration_common`

6a1be9739a80fd3ceeea741d6a24df4ad6c8762a authored almost 11 years ago by Mathias Söderberg <[email protected]>
Refactor configuration integration test suite into oblivion

7b090a41918e62b190be584e0ed553df45cb0512 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Refactor binary & source integration test suites

shared_examples for the win.

da809756eed2c57f555d74e062974259039d47cb authored almost 11 years ago by Mathias Söderberg <[email protected]>
Extract common examples and setup for service tests

b9615d3dfc5893b71059f7efc2aa80ecbbe261c6 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Extract platform helpers to separate file

36c04bfc348e53d96a31dd58f00fc0d61374d770 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Extract integration spec_helper to test/integration/helpers

56334a05efe79e04f144f9698ade2d219b0e9e90 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Remove duplication of include_recipe statements

840c46fb233b13a3e281b1b5935abae9a64a8651 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Small update of platform section in README

[ci skip]

6a764ba82b2684a9a49763e84285aee9bd1cd388 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Merge pull request #15 from mthssdrbrg/run-as-user

b7bc29d24459d23b8c6872afd02b8956022e590c authored almost 11 years ago by Mathias Söderberg <[email protected]>
Move option.erb and hash_option.erb templates to partials directory

07843cf8f7413ad066e742016f8862c36300ec86 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Run kafka as configured user (`node[:kafka][:user]`) instead of root

Closes #14.

a4fd315dcf8058805ef09d75515b36ed42c20444 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Remove user and group variables in `_setup` recipe

ccb75ea63e45eb8bc0609c1fb9666d64dd66848d authored almost 11 years ago by Mathias Söderberg <[email protected]>
Update zookeeper recipe according to new init script(s)

c6ff0db758e7f3da7f2b6f4a20d779ba562e0dd2 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Check that all files in install directory belongs to kafka user

82c871edf927016d51ef89dd877e96446d13d3ca authored almost 11 years ago by Mathias Söderberg <[email protected]>
Don't compile kafka as root

For some reason debian seems to have problems compiling kafka from source as any other user than...

6f01fa5d3d9de8b35b045bb36d8ea13237f92576 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Remove home directory for user & change shell to `/sbin/nologin`

1457cfd15bef9aeaf9995b96953481791ee5f5a7 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Remove `status` section from README

[ci skip]

d8a853e41167822315db65c80d0cb2ead34f20b7 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Change `License and author` header to `Copyright` in README

3241ddcfd6a9f8da0b0fc54dd03ce07c164ea37b authored almost 11 years ago by Mathias Söderberg <[email protected]>
Update `platform` related bits of README

8337c44a30b5a5cced61d8e244bed49fe73e3eba authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add fedora-18 to .kitchen.yml

Fixes #3, to some extent.

4e759c500f849b1c6ce0e5d76f9f8f010dbc22a5 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Further usage of attributes rather than specific recipes in .kitchen.yml

82ab149ece16631102084d374308c8690dcf461b authored almost 11 years ago by Mathias Söderberg <[email protected]>
Update README w/ requirements and less limitations

[ci skip]

71fef49c245456b4900f264ff066053ee5e9fe3a authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add `start on` and `stop on` stanzas to upstart template

Chef doesn't seem to `enable` kafka as it does with 'regular' init.d scripts, so resort to fix i...

a06c9f5dcbbf2c054b3dc89a2d001a34e1bf55fc authored almost 11 years ago by Mathias Söderberg <[email protected]>
Remove init file requirement from configuration integration test

63a811e7bfd5feab7516ca82a70ae3fab25547b7 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Split up a few variables in environment file and init scripts

Fixes #8.

99a911f3e8680703e448e7f1711a9309c19443d6 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add `apt` cookbook to `testing` group

Impossible to use the `java` cookbook on Ubuntu / debian without running `apt-get update` first,...

844dff3ec0343502a2af39669d1c224c5bd08756 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Merge pull request #11 from mthssdrbrg/override-kafka-gc-log-opts

Override default log path for kafka GC logs

Fixes #7.

41a3e25979ed051daa6b585a361ff2fcd42e33db authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add integration tests as well

da140ca07d7402a909fc05ff64a3fdedcb15f867 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Set KAFKA_GC_LOG_OPTS in environment file

e14e69cbe93239564c264ba0b43f109b8f857bdf authored almost 11 years ago by Mathias Söderberg <[email protected]>
Update have_configured matcher

* Use Regexp.quote for @value as well.
* Explicitly create a RenderFileMatcher.
* Better failure...

25d98fc0a61f4e27f1769572eb3affb9a4b85ea7 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Update test case descriptions in configure test

e9236963c8624069634f45084e6ba4552a7372ae authored almost 11 years ago by Mathias Söderberg <[email protected]>
Copy-paste some code for getting zookeeper recipe to play w/ init style

fa998c5b7096e70267e8adb6ef877fc88f316cd4 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Simplify integration tests for zookeeper recipe

Causes issues with upstart. And the recipe isn't really important besides testing Kafka locally.

c7f806efde31f2f698296b9dbe3120e0bc5b48c3 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Make port in upstart script a variable instead of attribute

dee17d426350cb22fdd11daf4a7282ead55fc380 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Use attributes instead of specific recipes in .kitchen.yml

04970d072cf498abc6fc14dcdfb5f5782a1211fb authored almost 11 years ago by Mathias Söderberg <[email protected]>
Move init_style statement in .kitchen.yml

Whoops.

a02acb2ba415657d5bd023d83df970d6e345676b authored almost 11 years ago by Mathias Söderberg <[email protected]>
Force :install_method to Symbol via #to_sym in default recipe

Fixes #5.

bfcfdee6f24dfba36aa25b5278d8a3ad7289bd7e authored almost 11 years ago by Mathias Söderberg <[email protected]>
Merge pull request #6 from mthssdrbrg/configurable-init-style

Configurable init style

* Adds a `init_style` attribute for selecting which init style to use...

0e90b08ef882556aff3cb9fbc3c376115f2ff226 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Only necessary to check if kafka-run-class.sh is executable

For some reason it gets 744 as permissions, but it really doesn't matter.

6def7663febd6cecf69e41b3e3a4b951f88d7854 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Don't wait forever for kafka to start in upstart init script

Three seconds should be enough for anyone.
Plus, no need for a post-stop as there is already a 1...

0d96801feac3a986ad4281f4ea70c58a796784f8 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Extend source suite with more examples

* Switch to `expect` syntax.
* Check that required directories exists and are non-empty.
* Check...

103cf49d34096565f2e086af4133e56d6e100489 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Make sure to check permissions on kafka-run-class.sh

cb9ca02aa0bf653ae0c566465c9d2f87169125d4 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Extend binary suite with more examples

* Switch to `expect` syntax.
* Check that required directories exists and are non-empty.
* Check...

0b7abd68304d56fe30bdfe937162babc2d85f477 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Check additional directories in binary suite

feda706c9c32fcaa92a22bb8ddcd2f01edccd609 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Explicitly state sysv init style for sysv suite

dc2be433d1219de1ada979f3757998687a18b86c authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add upstart post-stop script as well

94d6e55f98193342e5bfc5f259feb7823276a629 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Reverse port order for upstart post-start script

cc5efdbf2b790ee3fa8723ead8a100d983ca618d authored almost 11 years ago by Mathias Söderberg <[email protected]>
Remove service related integration tests in source suite

fd88072f5a1b454068689549704fc04504bc959e authored almost 11 years ago by Mathias Söderberg <[email protected]>
Remove service related integration tests in binary suite

4fc3f9a74bfcf758768467b0579ae61a937f801a authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add post-script stanza to upstart script

The integration tests were failing because kafka was started and then almost immediately stopped...

51e3fae2ff4d11b45ea77f10a87c520dd6096df4 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add missing integration test for upstart suite

b8cbfb52694b7dad4191a0ba94aa3bd128650bd1 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add integration tests for upstart init style

Also, Ubuntu support.

51aa19637f4370788a0c244ea22a41837afc587a authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add integration tests for sysv init style

Tested on Debian 7.2 and CentOS 6.5.

c6f7e16d483ce5b4e678f65291e725278ace77f6 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Different permissions on init script

bfc0b8ebf8a8b1628c485c7f79679bc251bd8365 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Make sure that :init_style is a Symbol

e00244aeacd1e5a5e0f7168da1fb927ad4aabc70 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Rename sysconfig_path variable to env_path

83233c694a11d229b89ccdcc0758d7d076b59cea authored almost 11 years ago by Mathias Söderberg <[email protected]>
Update test case description for env path

3bddff52d43ff7e2537329d6109f50fe054636c5 authored almost 11 years ago by Mathias Söderberg <[email protected]>
More test cases for setting environment variables

138be08188f4e08d3b4d030989d76379629094cf authored almost 11 years ago by Mathias Söderberg <[email protected]>
First stab at making init style configurable

7f9c03f5c687ae3cc8123da15e2231a611929eec authored almost 11 years ago by Mathias Söderberg <[email protected]>
Merge branch 'debian-support'

3e1ac69ec563e9fc09c6e0f5db1889f537f44219 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Update README w.r.t. the debian platform

[ci skip]

2a63206669a9dbbd211e5bd8c2f044e75971020c authored almost 11 years ago by Mathias Söderberg <[email protected]>
Correct configure spec w.r.t to new init.d script layout

1acbc365c15356b72fa845a0d7ea6be4e142306f authored almost 11 years ago by Mathias Söderberg <[email protected]>
Rework (default) init.d script, again

* Store environment variables in /etc/sysconfig/kafka. Might be blasphemy to use 'export' in the...

16447a0d8d2d314270b8ca2a84da7553f2cf5360 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add init.d script for the debian platform

05f82f52142ec3e598624f1febb6ddbe256a9654 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add sysconfig file for zookeeper recipe

0ca8eee4f0cc8289f4e728faa5846dc80d9dddf8 authored almost 11 years ago by Mathias Söderberg <[email protected]>
Add RSpec configure block to source integration spec_helper

41be69a49697a287d8fe01290a455a91b4d69a8e authored almost 11 years ago by Mathias Söderberg <[email protected]>
Exit with status 3 if init.d script is called with unknown action(s)

e81a3f8f735fe3638f7a853721089febe14635e0 authored almost 11 years ago by Mathias Söderberg <[email protected]>