cookbook 'terracotta', '~> 0.1.2'
terracotta (3) Versions 0.1.2 Follow0
Installs terracotta
cookbook 'terracotta', '~> 0.1.2', :supermarket
knife supermarket install terracotta
knife supermarket download terracotta
Description
Installs the Terracotta clustering software. This cookbook is intended for
use with the Shibboleth IdP and has not been tested in other configurations.
Requirements
Platform
Tested and developed on CentOS
Cookbooks
Requires the stock java cookbook, and should probably only be used with our
Shibboleth IdP cookbook.
Attributes
node["terracotta"]["version"]
- The version of the software we're
installing. Should match the archive you place in files/default - see
Usage
below.node['terracotta']['install_dir']
- Where to unpack the software.
Defaults to/opt/src
node['terracotta']['tims']
- A dictionary of TIM names mapped to version
numbers. For each one, you must place a matching jar file in
files/default/. SeeUsage
, below, for more information. Defaults to what
you need to run Shibboleth - vector, tomcat-6.0, tomcat-5.5, tomcat-common,
session-common, and session-ui.node['terracotta']['toolkits']
- A dictionary of toolkit major versions
mapped to minor versions. For each one, you must place a matching jar file
in files/default/. SeeUsage
, below, for more information. Defaults to
what you need to run Shibboleth - 1.6.
We support placing the tim and toolkit archives locally to faciliate
deployments with default-deny outbound firewalls. We should probably make
it a configuration option whether to use a local copy or fetch them with
tim-get.sh.
Usage
Place the Terracotta distribution tarball in the files/default/ directory of
this cookbook, along with any TIMs and/or toolkits you want to load.
Define at the version
attribute to match the tarball you used above.
If you are using this cookbook with Shibboleth and Terracotta, also be sure
to set the ['tomcat']['java_options'] attribute to something like this:
-Dtc.install-root=/opt/terracotta -XX:+MustCallLoadClassInternal -Dtc.config=/opt/terracotta/tc-config.xml -Xbootclasspath/p:$TC_HOME/lib/dso-boot/dso-boot-hotspot_linux_160_29.jar -Xms1G -Xmx1G -XX:+UseParallelOldGC -XX:MaxGCPauseMillis=5000 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:-TraceClassUnloading
License and Author
Author:: Elliot Kendall (elliot.kendall@ucsf.edu)
Copyright:: 2013, The Regents of the University of California
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.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.1.2 failed this metric
FC043: Prefer new notification syntax: terracotta/recipes/default.rb:77
FC064: Ensure issues_url is set in metadata: terracotta/metadata.rb:1
FC065: Ensure source_url is set in metadata: terracotta/metadata.rb:1
FC066: Ensure chef_version is set in metadata: terracotta/metadata.rb:1
FC069: Ensure standardized license defined in metadata: terracotta/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.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.1.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 include a tag that matches this cookbook version number
0.1.2 failed this metric
0.1.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.1.2 failed this metric
FC043: Prefer new notification syntax: terracotta/recipes/default.rb:77
FC064: Ensure issues_url is set in metadata: terracotta/metadata.rb:1
FC065: Ensure source_url is set in metadata: terracotta/metadata.rb:1
FC066: Ensure chef_version is set in metadata: terracotta/metadata.rb:1
FC069: Ensure standardized license defined in metadata: terracotta/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.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.1.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 include a tag that matches this cookbook version number
0.1.2 failed this metric
FC064: Ensure issues_url is set in metadata: terracotta/metadata.rb:1
FC065: Ensure source_url is set in metadata: terracotta/metadata.rb:1
FC066: Ensure chef_version is set in metadata: terracotta/metadata.rb:1
FC069: Ensure standardized license defined in metadata: terracotta/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.2 passed this metric
Testing File Metric
0.1.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.1.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 include a tag that matches this cookbook version number
0.1.2 failed this metric
0.1.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 include a tag that matches this cookbook version number