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

pcre (1) Versions 0.1.1

Configures and installs a self-contained PCRE installation

Policyfile
Berkshelf
Knife
cookbook 'pcre', '~> 0.1.1', :supermarket
cookbook 'pcre', '~> 0.1.1'
knife supermarket install pcre
knife supermarket download pcre
README
Dependencies
Changelog
Quality 17%

Description

The PCRE cookbook configures and installs a self-contained (as in, installed in /opt),
version installation of the Perl Compatible Regular Expression library. Useful for
statically/dynamically linkining to niche apps.

Requirements

Cookbooks

This cookbook depends on the build-essential cookbook, used for building
the library.

Platform

The following platforms are supported and tested under test kitchen:

  • Ubuntu 12.04, 12.10
  • CentOS 6

Other Debian and RHEL family distributions are assumed to work.

Chef Server

The cookbook converges best on Chef installations >= 10.16.2

Attributes

The following attributes are available on this cookbook:

  • node['pcre']['version'] - The PCRE version installed
  • node['pcre']['url'] - The URL that servers the PCRE source tree
  • node['pcre']['checksum'] - The SHA-256 checksum of the above archive
  • node['pcre']['prefix'] - The prefix directory in which PCRE will be installed

  • node['pcre']['add_ldconfig'] - Creates the /etc/ld.so.conf.d/pcre.conf file with
    the library installation prefix in order to include it to ldconfig loading

  • node['pcre']['enable_jit'] - Enables the JIT compile of PCRE

  • node['pcre']['enable_utf8'] - Enable UTF-8 support in PCRE

Recipes

default.rb

The default recipe downloads, compiles and installs the selected
PCRE version in in $PREFIX/pcre-$VERSION

Usage

Include the recipe on your node or role. Modify the
attributes as required in your role to change how various
configuration is applied per the attributes section above. In general,
override attributes in the role should be used when changing
attributes.

License and Author

Copyright 2013, Panagiotis Papadomitsos

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

build-essential >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.1:

  • Version bump
  • Fixed create_if_missing

0.1.0:

  • Initial release

Collaborator Number Metric
            

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

FC064: Ensure issues_url is set in metadata: pcre/metadata.rb:1
FC065: Ensure source_url is set in metadata: pcre/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pcre/metadata.rb:1
FC069: Ensure standardized license defined in metadata: pcre/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: pcre/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: pcre/recipes/default.rb:20
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.1 passed this metric

Testing File Metric
            

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