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

fpm-tng (6) Versions 0.1.0

FPM for Chef

Policyfile
Berkshelf
Knife
cookbook 'fpm-tng', '= 0.1.0', :supermarket
cookbook 'fpm-tng', '= 0.1.0'
knife supermarket install fpm-tng
knife supermarket download fpm-tng
README
Dependencies
Quality -%

fpm-tng

The next generation of effing package management on Chef.

Usage

This cookbook installs fpm to a given Ruby. It also provides
some useful LWRPs to help build packages in a Chef friendly
manner.

LWRPs

fpm_tng_package

Builds a package using fpm. All options available via fpm --help
are available as attributes within the LWRP. Dashes are simply
replaced with underscores. For example, lets build a rails gem:

fpm_tng_package 'rails' do
  input_type 'gem'
  output_type 'deb'
  version '3.2.6'
  input_args 'rails'
end

fpm_tng_gemdeps

Most times gems will requre dependencies. These can be autobuilt:

fpm_tng_gemdeps 'rails' do
version '3.2.6'
end

Attributes

  • default[:fpm_tng][:install][:gems] = %w(fpm)
  • default[:fpm_tng][:install][:packages] = []
  • default[:fpm_tng][:build_dir] = '/opt/fpm-build'
  • default[:fpm_tng][:package_dir] = '/opt/fpm-pkgs'
  • default[:fpm_tng][:exec] = File.join(node.languages.ruby.bin_dir, 'fpm')
  • default[:fpm_tng][:gem] = node.languages.ruby.gem_bin

Infos

No quality metric results found