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

builder (3) Versions 0.1.4

Building helpers

Policyfile
Berkshelf
Knife
cookbook 'builder', '~> 0.1.4', :supermarket
cookbook 'builder', '~> 0.1.4'
knife supermarket install builder
knife supermarket download builder
README
Dependencies
Quality 17%

Builder

A helper cookbooks for building things with Chef

Usage

Provides LWRPs to help DRY building things with Chef.

Attributes

  • default[:builder][:build_dir] = '/usr/src/builder/sources'
  • default[:builder][:packaging_dir] = '/usr/src/builder/packaging'
  • default[:builder][:gem][:exec] = node[:languages][:ruby][:gem_bin]

LWRPs

builder_dir

builder_dir 'customapp-1.0.tar.gz' do
  remote_file 'http://example.com/downloads/customapp-1.0.tar.gz'
  suffix_cwd 'customapp-1.0'
  commands [
    './configure',
    'make install DESTDIR=$PKG_DIR'
  ]
end

The $PKG_DIR is an environment variable that will be available to
build commands. The $PKG_DIR is created by the LWRP to provide a
location to install files for later packaging.

Infos

Collaborator Number Metric
            

0.1.4 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.4 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.4 failed this metric

FC016: LWRP does not declare a default action: builder/resources/dir.rb:1
FC016: LWRP does not declare a default action: builder/resources/gem.rb:1
FC016: LWRP does not declare a default action: builder/resources/git.rb:1
FC016: LWRP does not declare a default action: builder/resources/remote.rb:1
FC064: Ensure issues_url is set in metadata: builder/metadata.rb:1
FC065: Ensure source_url is set in metadata: builder/metadata.rb:1
FC066: Ensure chef_version is set in metadata: builder/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: builder/metadata.rb:1
FC069: Ensure standardized license defined in metadata: builder/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: builder/libraries/builder.rb:116
FC121: Cookbook depends on cookbook made obsolete by Chef 14: builder/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: builder/recipes/default.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.4 passed this metric

Testing File Metric
            

0.1.4 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.4 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