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

RSS

chef-sbt (1) Versions 0.0.1

Installs the sbt version you request from manual download.

Policyfile
Berkshelf
Knife
cookbook 'chef-sbt', '~> 0.0.1', :supermarket
cookbook 'chef-sbt', '~> 0.0.1'
knife supermarket install chef-sbt
knife supermarket download chef-sbt
README
Dependencies
Quality 17%

About

This project, chef-sbt, is a Chef Cookbook for SBT that downloads the sbt-launch.jar file directly from scala-sbt.org, and
configures it in your path manually. This tends to be preferable if you, like me, have come to
grow impatient with waiting for package managers to update their versions or would prefer to
manually control when your boxes move to a different version.

I've only enumerated support for Ubuntu and Debian in this cookbook, but it may work elsewhere
as well. Haven't done a lot of testing yet.

Attributes

The chef-sbt cookbook recognizes the following attributes.

  • node['sbt']['version'] - The version of the sbt launcher you would like to use. Currently, this defaults to 0.12.4, the latest stable, but can be any version available in the typesafe download repo.
  • node['sbt']['java_options'] - The JVM flags that should be passed to the JVM when sbt starts. Currently, this is defaulted to -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=512M, and that works well for me... but YMMV.

Recipes

  • default - This recipe will download the sbt-launch.jar of the version you specify to /usr/local/bin, create an executable script sbt in that same folder, set permissions on them, and make them owned by root.

License / Contributions

This project is licensed under the Apache License 2.0. For details, see the LICENSE file at the top of this repository.
If you discover issues, I encourage you to open tickets on the GitHub issue tracker. Contributations are welcome from
all, but please adhere to code style and open a ticket before proceeding with your work.

About the Author

My name is Matt Farmer. I'm a code bandit current slinging code on behalf of Elemica, Anchor Tab, the Lift Framework, and a few other small outfits who are out to make the world a better place. I tweet regularly, and blog and little bit less so.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.0.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.0.1 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.0.1 failed this metric

FC064: Ensure issues_url is set in metadata: chef-sbt/metadata.rb:1
FC065: Ensure source_url is set in metadata: chef-sbt/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-sbt/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-sbt/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: chef-sbt/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.0.1 passed this metric

Testing File Metric
            

0.0.1 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.0.1 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