cookbook 'exhibitor', '= 0.10.0'
exhibitor
(25) Versions
0.10.0
-
Follow3
Installs Netflix Exhibitor
cookbook 'exhibitor', '= 0.10.0', :supermarket
knife supermarket install exhibitor
knife supermarket download exhibitor
Exhibitor
Chef cookbook for installing and managing Netflix's
Exhibitor, a co-process for Apache
Zookeeper.
Usage
In particular, two key attribute hashes drive this cookbook.
The first is node['exhibitor']['cli']
, which specifies command-line options
that will be used when Exhibitor is run. Some are necessary, and in particular
the defaults provided will ensure Exhibitor is able to run.
The second is node['exhibitor']['config']
, which manages the configuration
parameters that get rendered to the exhibitor.properties
file. The defaults
are sane starting values.
We recommend running exhibitor::default
to get a basic, default setup of
Exhibitor going, as well as calling exhibitor::service
if you want the
service to boot up in the same run. These recipes are split for workflows
within, for example, AMI pipelines.
More documentation to come. Please see the Exhibitor
docs for more
information on the specifics of running Exhibitor.
Author and License
Simple Finance ops@simple.com
Apache License, Version 2.0
Dependent cookbooks
build-essential ~> 2.2 |
java ~> 1.35 |
runit ~> 1.7 |
zookeeper ~> 5.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
CHANGELOG
Unreleased
0.10.0
- Add attribute to use a custom command to run
gradle
(#32, @vanliew) - Upgrade to
zookeeper ~> 5.0
- Brings in potentially breaking change of using
java
cookbook’s$JAVA_HOME
env var for the version of Java used to run ZooKeeper
- Brings in potentially breaking change of using
- Use
java
cookbook’s$JAVA_HOME
env var for the version of Java used to run Exhibitor
0.9.0
- Bump
zookeeper
to ~> 4.0 (#30 @f1yers)
0.8.0
- Add Upstart as an alternative to runit (#29 @davidgiesberg)
0.7.1
- Move installation of
node['exhibitor']['patch_package']
to execution phase (#26) - Drop testing in Chef 11 due to conflict w/ net-ssh gem installed by Serverspec
0.7.0
- Add Serverspec tests (#5)
- Bump
zookeeper
to ~> 3.0 (#23)
0.6.0
- Add pins to all cookbook dependencies to avoid breaking changes
- Add attribute to control Exhibitor service actions
- Add attribute to set ZooKeeper to be managed by Exhibitor
- Fix Chef overwriting shared config (#20)
- Add
exhibitor::service
to default test suite - Use Chef Zero for Test Kitchen
0.5.0
- Update to Exhibitor 1.5.5 (#18)
- Includes updates to build script, lifted directly from Exhibitor’s own script
- Fix ownership of downloaded Exhibitor jar (#19)
- Remove duplicate metadata.json file
- Clean up and fix up Test Kitchen config
0.4.0
- Just run
install
instead ofdefault
recipe (contributed by @DorianZaccaria)
0.3.1
- Fixed bug wherein Exhibitor dearchive reference was incorrect (contributed by @benley)
0.3.0
- Exhibitor will now explicitly look for dataDir and dataLogDir attributes under node[:zookeeper][:config], and prioritize them for calculated values.
0.2.1
- Set correct permissions for files Exhibitor needs to run (#7)
- Set correct parameter name for zookeeper-data-directory (#6)
0.2.0
- Massive cleanup and minor refactor
- Service now activated in a separate
service
recipe - Renamed
node[:exhibitor][:defaultconfig]
tonode[:exhibitor][:config]
- Renamed
node[:exhibitor][:opts]
tonode[:exhibitor][:cli]
- Added helper library methods
- TODO: Some tests
0.1.1
- Cleanup and style fixes. No functional changes.
0.1.0
- Initial release of exhibitor, split from zookeeper, contributed by @wolf31o2
Foodcritic Metric
0.10.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/aec6a7a62e183365a0d7e2b2/exhibitor/libraries/util.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/aec6a7a62e183365a0d7e2b2/exhibitor/recipes/default.rb:71
FC019: Access node attributes in a consistent manner: /tmp/cook/aec6a7a62e183365a0d7e2b2/exhibitor/libraries/util.rb:7
FC019: Access node attributes in a consistent manner: /tmp/cook/aec6a7a62e183365a0d7e2b2/exhibitor/recipes/default.rb:71
0.10.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/aec6a7a62e183365a0d7e2b2/exhibitor/recipes/default.rb:71
FC019: Access node attributes in a consistent manner: /tmp/cook/aec6a7a62e183365a0d7e2b2/exhibitor/libraries/util.rb:7
FC019: Access node attributes in a consistent manner: /tmp/cook/aec6a7a62e183365a0d7e2b2/exhibitor/recipes/default.rb:71