cookbook 'alfresco-webserver', '= 0.7.5'
alfresco-webserver (4) Versions 0.7.5 Follow2
Installs/Configures chef-alfresco-webserver
cookbook 'alfresco-webserver', '= 0.7.5', :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 | true |
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']['apply_hardening'] | 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.4'
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.5 passed this metric
Contributing File Metric
0.7.5 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.7.5 failed this metric
FC069: Ensure standardized license defined in metadata: alfresco-webserver/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.7.5 passed this metric
No Binaries Metric
0.7.5 passed this metric
Testing File Metric
0.7.5 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.7.5 passed this metric
0.7.5 passed this metric
0.7.5 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.7.5 failed this metric
FC069: Ensure standardized license defined in metadata: alfresco-webserver/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.7.5 passed this metric
No Binaries Metric
0.7.5 passed this metric
Testing File Metric
0.7.5 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.7.5 passed this metric
0.7.5 failed this metric
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.7.5 passed this metric
No Binaries Metric
0.7.5 passed this metric
Testing File Metric
0.7.5 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.7.5 passed this metric
0.7.5 passed this metric
0.7.5 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.7.5 passed this metric
0.7.5 passed this metric