cookbook 'codestriker', '~> 0.2.0'
codestriker (3) Versions 0.2.0 Follow0
Installs/Configures codestriker
cookbook 'codestriker', '~> 0.2.0', :supermarket
knife supermarket install codestriker
knife supermarket download codestriker
codestriker Cookbook
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:
- arguments that configure the application itself;
- 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']
- whenfalse
, 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
0.2.0 failed this 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
0.2.0 failed this metric
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
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
0.2.0 failed this metric
0.2.0 passed this metric