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

The typesafe-stack cookbook has been deprecated

Author provided reason for deprecation:

The typesafe-stack cookbook has been deprecated and is no longer being maintained by its authors. Use of the typesafe-stack cookbook is no longer recommended.

You may find that the sbt-extras cookbook is a suitable alternative.

RSS

typesafe-stack (1) Versions 0.1.0

Installs typesafe-stack for Scala, Akka and Play projects (sbt, g8)

Policyfile
Berkshelf
Knife
cookbook 'typesafe-stack', '~> 0.1.0', :supermarket
cookbook 'typesafe-stack', '~> 0.1.0'
knife supermarket install typesafe-stack
knife supermarket download typesafe-stack
README
Dependencies
Quality 0%

Description

The Typesafe Stack is an integrated distribution that includes the Scala programming language, Akka event-driven middleware, and the Play web framework, along with a robust suite of development tools.

The default recipe of this Chef cookbook will
* Configure the APT or YUM repository provided by TypeSafe company
* Install the meta-package typesafe-stack that includes sbt and giter8.
* Akka and Play are not installed, since TypeSafe recommends to create project on top of these frameworks with giter8 templates available in @typesafehub .g8-suffixed repositories, like for instance https://github.com/typesafehub/akka-scala-sbt.g8
* TypeSafe bundles an adapted version of very nice sbt-extras, that will figure out the versions of sbt and scala required by the project and download them if necessary.

Notes:
* On Debian/APT-based platorm, the repository public key is installed in a more "usual way" compared to Debian/Ubuntu installation guidelines from TypeSafe. (I expect that TypeSafe will in near future make its apt-repo public key available for usual HTTP download... and drop the manual installation-step of repo-deb-build-0002.deb package)

Requirements

  • Depends on opscode/apt cookbook >= 1.4.0+ because of COOK-921 (the apt-repository public key file is bundled in cookbook, not HTTP-fetched from a remote server)
  • Depends on opscode/yum cookbook
  • Depends on opscode/java cookbook
  • Attention: Integration with opscode-apt cookbook 1.4.8+ requires at least Chef 10.10+ because of COOK-1435.

Attributes

No attribute defined so far

Usage

Include the typesafe-stack::default recipe to your run list or inside your cookbook.

Quality Assurance

Version 0.1.0 has been validated on Ubuntu 12.10 64-bit (for apt) and on CentOS 6.4 64-bit (for yum)

Known Problems

  • #3: sbt runs by default with following JVM memory parameters -Xms1536m -Xmx1536m -XX:MaxPermSize=384. You should expect following error with target host with less than 2048M of RAM:
Error occurred during initialization of VM
Could not reserve enough space for object heap

Contribution and Credits

Before starting to create this cookbook, I first looked for existing ones, but I did not find exactly what I wished.
The creation of this cookbook was nevertheless influenced by following similar recipes:
* https://github.com/garrettux/scala-sbt-cookbook/blob/master/recipes/default.rb
* https://github.com/opyate/typesafe-stack-cookbook/blob/master/recipes/default.rb

Dependent cookbooks

apt >= 1.4.0
java >= 0.0.0
yum >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.0 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.0 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.0 failed this metric

FC064: Ensure issues_url is set in metadata: typesafe-stack/metadata.rb:1
FC065: Ensure source_url is set in metadata: typesafe-stack/metadata.rb:1
FC066: Ensure chef_version is set in metadata: typesafe-stack/metadata.rb:1
FC069: Ensure standardized license defined in metadata: typesafe-stack/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.0 failed this metric

Failure: Cookbook should not contain binaries. Found:
typesafe-stack/files/default/typesafe-repo-public.asc

Testing File Metric
            

0.1.0 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.0 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