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

codestriker (3) Versions 0.2.0

Installs/Configures codestriker

Policyfile
Berkshelf
Knife
cookbook 'codestriker', '~> 0.2.0', :supermarket
cookbook 'codestriker', '~> 0.2.0'
knife supermarket install codestriker
knife supermarket download codestriker
README
Dependencies
Changelog
Quality 33%

codestriker Cookbook

Circle CI
Cookbook Version

Installs Codestriker from the tarball distribution.

Requirements

Cookbooks

While there aren't any direct dependencies, the cookbook expects a properly set up database to be present.
Also, Codestriker is a CGI application, so you'll need a way of running those; it's out of scope for this
cookbook to provide one.

Platforms

The following platforms are supported:

  • Ubuntu 14.04, Ubuntu 16.04. (Really, anything sufficiently Debian-like ought to work.)

  • OpenSUSE 13.2.

Attributes

Broadly speaking, there are two groups of arguments:

  1. arguments that configure the application itself;
  2. arguments that define the installation environment.

The former group mostly mirrors configuration options in codestriker.conf, which are thoroughly documented there.
As for the latter:

  • node['codestriker']['tarball']['version'] - application version (default: 1.9.10 (the latest));

  • node['codestriker']['tarball']['url'] - tarball location (the default is to grab the latest tarball from SourceForge,
    but any tarball will do as long as its root directory follows the "codestriker-#{node['codestriker']['tarball']['version']}"
    naming convention);

  • node['codestriker']['tarball']['checksum'] - SHA256 digest of the aforementioned tarball;

  • node['codestriker']['user'] - owner of the unpacked sources (default: codestriker);

  • node['codestriker']['use_existing_user'] - when false, a new system user will be created (default: false);

  • node['codestriker']['group'] - group that will own the unpacked sources (default: codestriker);

  • node['codestriker']['dir'] - root directory of the unpacked sources (default: /opt/codestriker/www);

  • node['codestriker']['patch'] - patches to apply (the default is to make the source code compatible with Perl 5.22);

  • node['codestriker']['packages'] - platform-dependent configuration of the dependencies;

  • node['codestriker']['paths'] - platform-dependent configuration of the paths of various binaries;

  • node['codestriker']['repositories'] - URLs to names mapping.

Usage

Just add codestriker to the node's run_list:

{
  "run_list": [
    "recipe[codestriker]"
  ]
}

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release.

Collaborator Number Metric
            

0.2.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.2.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.2.0 failed this metric

FC009: Resource attribute not recognised: codestriker/recipes/default.rb:42
FC066: Ensure chef_version is set in metadata: codestriker/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: codestriker/metadata.rb:1
FC069: Ensure standardized license defined in metadata: codestriker/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.2.0 passed this metric

Testing File Metric
            

0.2.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.2.0 passed this metric