Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


alfresco-internal-lb (1) Versions 0.3.2

Installs/Configures chef-alfresco-internal-lb

cookbook 'alfresco-internal-lb', '~> 0.3.2', :supermarket
cookbook 'alfresco-internal-lb', '~> 0.3.2'
knife supermarket install alfresco-internal-lb
knife supermarket download alfresco-internal-lb
Quality 33%

chef-alfresco-internal-lb cookbook

Build Status
Coverage Status

This cookbook will install the Internal Load Balancer part of the Alfresco stack.
The default choice is Haproxy, but it can be expanded to use your own engine.


Key Type Description Default
default['internal_lb']['engine'] String Engine of choice haproxy
default['internal_lb']['log_level'] String lb log level info
default['internal_lb']['enable_ssl_header'] Boolean Add STS headers to the headers false
default['internal_lb']['hostname'] String lb hostname
default['internal_lb']['port'] String lb port 9000
default['internal_lb']['secure_port'] String secure port 9001
default['internal_lb']['rsyslog_bind'] String Bind haproxy to rsyslog true
default['internal_lb']['certs']['ssl_folder'] String Location of the SSL certificates /etc/pki/tls/certs
default['internal_lb']['certs']['filename'] String common filename of the certificates alfresco
default['internal_lb']['certs']['databag_name'] String Databag name from where to retrieve the certificate ''
default['internal_lb']['certs']['databag_item'] String Databag item from where to retrieve the certificate ''
default['internal_lb']'certs']['skip_certificate_creation'] Boolean Skip certs creation. False if you don't use SSL by default (dev mode) false
default['internal_lb']['error_pages']['folder'] String Where the error pages will be stored /var/www/html/errors
default['internal_lb']['components'] Array Alfresco components to put under the LB ['repo', 'share', 'solr']
default['internal_lb']['share_port'] Integer Alfresco Share Component Port 8081
default['internal_lb']['solr_port'] Integer Alfresco SOLR Component Port 8090
default['internal_lb']['activiti_port'] Integer Alfresco Activiti Component Port 8060
default['internal_lb']['alfresco_port'] Integer Alfresco Repo Component Port 8070
default['internal_lb']['ec2']['enable_ec2_discovery'] Boolean (EC2 only) Use haproxy discovery system false
default['internal_lb']['ec2']['install_haproxy_discovery'] Boolean (EC2 only) Enable discovery of other nodes in the same AZ false
default['internal_lb']['logging_json_enabled'] Boolean Enable JSON Logging false


Just add the reference of this cookbook inside your metadata.rb file:

depends 'alfresco-internal-lb', '~> v0.3.2'

The cookbook is divided in 2 recipes:

  • alfresco-internal-lb::default will install and upgrade the internal-lb of your choice ( specified under the default['internal_lb']['engine'] attribute)

Include alfresco-internal-lb in your node run_list:

  "run_list": [

License and Authors

Author: Enzo Rivello (

Copyright 2017, Alfresco

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

commons >= 0.0.0
haproxy ~> 1.6.6
netstat ~> 0.1.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.


Initial release of chef-alfresco-internal-lb

Collaborator Number Metric

0.3.2 passed this metric

Contributing File Metric

0.3.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Foodcritic Metric

0.3.2 failed this metric

FC066: Ensure chef_version is set in metadata: alfresco-internal-lb/metadata.rb:1
FC069: Ensure standardized license defined in metadata: alfresco-internal-lb/metadata.rb:1
FC117: Do not use kind_of in custom resource properties: alfresco-internal-lb/resources/haproxy_config.rb:7
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

0.3.2 passed this metric

Testing File Metric

0.3.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Version Tag Metric

0.3.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must include a tag that matches this cookbook version number