cookbook 'codestriker', '= 0.1.0'
codestriker (3) Versions 0.1.0 Follow0
Installs/Configures codestriker
cookbook 'codestriker', '= 0.1.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.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: /tmp/523eb6ac6ab758c17021d046/codestriker/metadata.rb:1
FC065: Ensure source_url is set in metadata: /tmp/523eb6ac6ab758c17021d046/codestriker/metadata.rb:1
Run with Foodcritic Version 8.0.0 with tags ~FC031 ~FC045 and failure tags any
0.1.0 failed this metric
0.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: /tmp/523eb6ac6ab758c17021d046/codestriker/metadata.rb:1
FC065: Ensure source_url is set in metadata: /tmp/523eb6ac6ab758c17021d046/codestriker/metadata.rb:1
Run with Foodcritic Version 8.0.0 with tags ~FC031 ~FC045 and failure tags any