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

RSS

builder (3) Versions 0.1.4

Building helpers

Berkshelf/Librarian
Policyfile
Knife
cookbook 'builder', '~> 0.1.4'
cookbook 'builder', '~> 0.1.4', :supermarket
knife cookbook site install builder
knife cookbook site download builder
README
Dependencies
Quality

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
FC017: LWRP does not notify when updated: builder/providers/dir.rb:3
FC017: LWRP does not notify when updated: builder/providers/gem.rb:3
FC017: LWRP does not notify when updated: builder/providers/git.rb:14
FC017: LWRP does not notify when updated: builder/providers/remote.rb:3
FC059: LWRP provider does not declare use_inline_resources: builder/providers/dir.rb:1
FC059: LWRP provider does not declare use_inline_resources: builder/providers/gem.rb:1
FC059: LWRP provider does not declare use_inline_resources: builder/providers/git.rb:1
FC059: LWRP provider does not declare use_inline_resources: builder/providers/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
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.4 passed this metric

No Binaries Metric
            

0.1.4 passed this metric

Publish Metric
            

0.1.4 passed this metric

Supported Platforms Metric
            

0.1.4 failed this metric

builder should declare what platform(s) it supports.

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