cookbook 'alfresco-webserver', '= 0.7.3'
alfresco-webserver (4) Versions 0.7.3 Follow2
Installs/Configures chef-alfresco-webserver
cookbook 'alfresco-webserver', '= 0.7.3', :supermarket
knife supermarket install alfresco-webserver
knife supermarket download alfresco-webserver
chef-alfresco-webserver cookbook
This cookbook will install the WebServer part of the Alfresco stack.
The default choice is NginX, but it can be expanded to use your own webserver.
Attributes
Key | Type | Description | Default |
---|---|---|---|
default['webserver']['engine'] | String | Engine of choice | nginx |
default['webserver']['port'] | Int | Webserver public port | 80 |
default['webserver']['port_ssl'] | Int | Public SSL Port | 443 |
default['webserver']['hostname'] | String | Matching hostname | localhost |
default['webserver']['lb_hostname'] | String | Hostname/Address of the internal load-balancer | 127.0.0.1 |
default['webserver']['lb_protocol'] | String | Protocol used to talk to the internal load-balancer | http |
default['webserver']['lb_port'] | Int | Port of the internal load-balancer | 9001 |
default['webserver']['use_nossl_config'] | Boolean | Wheter to avoid or use ssl | localhost |
default['webserver']['certs']['filename'] | String | SSL Certs filename | alfresco |
default['webserver']'certs']['ssl_folder'] | String | Folder where the SSL certs will be stored | /etc/pki/tls/certs |
default['webserver']['error_pages']['error_folder'] | String | Where the error pages will be stored | /var/www/html/error_pages |
default['webserver']['harden'] | Boolean | Weter you want this installation to be hardened or no | true |
Usage
Just add the reference of this cookbook inside your metadata.rb
file:
depends 'alfresco-webserver', '~> v0.7.3'
The cookbook is divided in 2 recipes:
-
alfresco-webserver::default
will install and upgrade the webserver of your choice ( specified under thedefault['webserver']['engine']
attribute) -
alfresco-webserver::start
will configure and start the webserver to accept external connections and pass the information to the internal load-balancer.
Include alfresco-webserver
in your node run_list
:
{ "run_list": [ "recipe[alfresco-webserver::default]", "recipe[alfresco-webserver::start]" ] }
License and Authors
Author: Enzo Rivello (enzo.rivello@alfresco.com)
Copyright 2016, 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
nginx ~> 2.7.6 |
netstat ~> 0.1.0 |
nginx-hardening ~> 1.1.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.7.3
- Removed the nginx-hardening cookbook from Berksfile, as it has been published on the public supermarket ( 62795ff )
- Added coveralls support and flare on the README.md ( 19613b4 )
- Added explicit support for Redhat and Centos platforms, to be displayed on the supermarket ( 7c9cf55 )
0.7.2
Preparing README for Chef supermarket release
0.7.1
Documentation Review
- added licensing ( 5a8dbc2 )
- documentation review ( 6eb8396 )
- removed unused protocol attribute ( ce11f86 )
0.7.0
Initial release of chef-alfresco-webserver
Collaborator Number Metric
0.7.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.7.3 passed this metric
0.7.3 failed this metric
0.7.3 passed this metric