Provides a Chef environment cookbook for provisioning a Sesshu node. This is intended for use when boot-strapping Amazon EC2 nodes through the use of cloud-init configuration, provided as either instance user-data or launch configuration data.
This cookbook can also be used with Amazon Web Services (AWS) OpsWorks product.
Per the .kitchen.yml
in the root of this cookbook, support is as follows:
- Ubuntu 16.04
Although this cookbook may be compatible with other distributions, it only contains a systemd
compatible init script for the Sesshu service.
- Chef >= 12.X
- apt (~> 5.0.0)
- ntp (~> 3.2.0)
- ark (~> 2.0.0)
- sysctl (~> 0.8.0)
- poise-python (~> 1.5.1)
A configuration shim has been provided with this cookbook which will attempt to 'deep merge' a set of Chef attributes with the Sesshu distribution configuration provided by the Sesshu service. The net result of this is that any deployment specific configuration can be added to either this environment cookbook or a Chef server / override JSON document, which will take precedence over the Sesshu distribution configuration (sesshu.dist.yaml
).
The following attributes should be overridden through this cookbooks, or another mechanism (such as attribute JSON, or Chef server attributes).
node['sesshu']['conf']['bus']['input']['queue']
- The SQS URL of the Amazon Web Services (AWS) queue the Sesshu service should use when long-polling for messages.
node['sesshu']['conf']['bus']['output']['topic']
- The SNS URL of the Amazon Web Services (AWS) topic the Sesshu service should use when posting results.
See the Sesshu project documentation at the following URL: