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

RSS

alfresco-internal-lb (1) Versions 0.3.2

Installs/Configures chef-alfresco-internal-lb

Berkshelf/Librarian
Policyfile
Knife
cookbook 'alfresco-internal-lb', '~> 0.3.2'
cookbook 'alfresco-internal-lb', '~> 0.3.2', :supermarket
knife cookbook site install alfresco-internal-lb
knife cookbook site download alfresco-internal-lb
README
Dependencies
Changelog
Quality

chef-alfresco-internal-lb cookbook

Build Status Cookbook 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.

Attributes

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 127.0.0.1
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

Usage

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": [
    "recipe[alfresco-internal-lb::default]"
  ]
}

License and Authors

Author: Enzo Rivello (enzo.rivello@alfresco.com)

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

http://www.apache.org/licenses/LICENSE-2.0 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

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

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md 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
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.3.2 passed this metric

No Binaries Metric
            

0.3.2 passed this metric

Publish Metric
            

0.3.2 passed this metric

Supported Platforms 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 https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.3.2 passed this metric