Wrapper cookbook for SimpleFinance’s zookeeper & exhibitor cookbooks.
In addition to using these cookbooks to install Exhibitor and Zookeeper, this cookbook sets up and enables shared configuration using S3 for Exhibitor, allowing Exhibitor to handle any additional configuration of the Zookeeper ensemble.
- exhibitor
Include the default recipe in a node’s run list.
If using with the apache_storm
cookbook, also ensure role[zookeeper]
is included in the run list.
Attributes we override in the two base cookbooks:
node['zookeeper']['config']['dataDir']
node['zookeeper']['config']['initLimit']
node['zookeeper']['config']['syncLimit']
node['zookeeper']['config']['autopurge.snapRetainCount']
node['zookeeper']['config']['autopurge.purgeInterval']
node['exhibitor']['version']
node['exhibitor']['snapshot_dir']
node['exhibitor']['transaction_dir']
node['exhibitor']['log_index_dir']
node['exhibitor']['cli']['configtype']
Additional attributes provided by this cookbook:
node['exhibitor']['s3']['access-key-id']
– The IAM access key IDnode['exhibitor']['s3']['access-secret-key']
— The IAM secret access keynode['exhibitor']['cli']['s3region']
– AWS region used to communicate w/ S3node['exhibitor']['cli']['s3config']
– S3 bucket & key name for the shared config filenode['et_exhibitor']['defaultconfig']['zoo_cfg_extra']
– Additional values used for the initial bootstrap; these are used to seed the S3 config file if it doesn’t already exist
- Sets additional Zookeeper config for Exhibitor to use
- Includes
exhibitor::default
, which itself includeszookeeper::install
, to install and set up Zookeeper and Exhibitor - Includes
exhibitor::service
, to set up and start the Exhibitor service viarunit
Author:: EverTrue, Inc. (devops@evertrue.com)