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 supermarket mailing list.

Select Badges

Select Supported Platforms

RSS

xbuild (1) Versions 0.1.0

Installs/Configures xbuild

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

xbuild cookbook

Chef cookbook for xbuild

Requirements

Recipes

Platforms

Supports

  • RedHat, CentOS

Not supports (Have not tried)

  • Debian, Ubuntu
  • Fedora, Amazon, Scientific

Usage

Recipe

The listed as below, declare the 'include_recipe'.

include_recipe 'xbuild'

Examples

Attributes & Recipes

Perl

Install Perl 5.16.3 with Acme::AjiFry and Proclet.

  • Attribute
{
  'perl' => {
     'version' => '5.16.3',
     'prefix'  => '/usr/local/bin/perl-5.16.3',
  }
}
  • Recipe
xbuild_perl "install perl #{node['perl']['version']}" do
  version node['perl']['version']
  prefix  node['perl']['prefix']
end

%w{
  Acme::AjiFry
  Proclet
}.each do |module_name|
  xbuild_cpanm module_name do
    options '--force --verbose'
    perl_root node['perl']['prefix']
  end
end

Ruby

Install Ruby 1.9.3-p392 with ec2ssh and serverspec.

  • Attribute
{
  'ruby' => {
    'version' => '1.9.3-p392',
    'prefix'  => '/usr/local/bin/ruby-1.9.3',
  }
}
  • Recipe
xbuild_ruby "install ruby #{node['ruby']['version']}" do
  version node['ruby']['version']
  prefix  node['ruby']['prefix']
end

%w{
  ec2ssh
  serverspec
}.each do |module_name|
  xbuild_gem module_name do
    options '--no-rdoc --no-ri'
    ruby_root node['ruby']['prefix']
  end
end

PHP

Install PHP 5.5snapshot with install option '--with-pear'.

  • Attribute
{
  'php' => {
    'version' => '5.5snapshot',
    'prefix'  => '/usr/local/bin/php-5.5snapshot',
    'options' => '--with-pear',
  }
}
  • Recipe
xbuild_php "install php #{node['php']['version']}" do
  version node['php']['version']
  options node['php']['options']
  prefix  node['php']['prefix']
end

Python

Install Python 2.7.3

  • Attribute
{
  'python' => {
    'version' => '2.7.3',
    'prefix'  => '/usr/local/bin/python-2.7.3',
  }
}
  • Recipe
xbuild_python "install python #{node['python']['version']}" do
  version node['python']['version']
  prefix  node['python']['prefix']
end

Node

Install Node.js v0.10.1

  • Attribute
{
  'node' => {
    'version' => 'v0.10.1',
    'prefix'  => '/usr/local/bin/node-0.10.1',
  }
}
  • Recipe
xbuild_node "install node #{node['node']['version']}" do
  version node['node']['version']
  prefix  node['node']['prefix']
end

Author

Satoshi SUZUKI (studio3104.com@gmail.com)

License

Apache License, Version 2.0

Dependent cookbooks

git >= 0.0.0
build-essential >= 0.0.0
yum >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found