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

build-essential (47) Versions 1.2.0

Installs C compiler / build tools

Berkshelf/Librarian
Policyfile
Knife
cookbook 'build-essential', '= 1.2.0'
cookbook 'build-essential', '= 1.2.0', :supermarket
knife cookbook site install build-essential
knife cookbook site download build-essential
README
Dependencies
Quality

Description

Installs packages required for compiling C software from source. Use this cookbook if you wish to compile C programs, or install RubyGems with native extensions.

Requirements

Platform

Supported platforms by platform family:

  • Linux (fedora redhat centos ubuntu debian amazon scientific)
  • Darwin (mac_os_x 10.6+)

Attributes

  • node['build_essential']['compiletime'] - Whether the resources in the default recipe should be configured at the "Compile" phase of the Chef run. Defaults to false, see Usage for more information.
  • node['build_essential']['osx']['gcc_installer_url'] - The URL of the OS X GCC package installer (.pkg).
  • node['build_essential']['osx']['gcc_installer_checksum'] - The SHA256 checksum of the OS X GCC installer.

Recipes

This cookbook has one recipe, default.

On Linux platforms (see Platform above for a supported list of families), packages required to build C source projects are installed. This includes GCC, make, autconf and others. On Debian-family distributions, the apt-cache may need to be updated, especially during compile time installation. See Usage for further information.

On Mac OS X, the GCC standalone installer by Kenneth Reitz is installed. Note that this is not the Xcode CLI package, as that does not include all programs and headers required to build some common GNU-style C projects, such as those that are available from projects such as MacPorts or Homebrew. Changing the attributes for the GCC installer URL and checksum to the Xcode values may work, but this is untested.

Usage

Simply include the build-essential and the required tools will be installed to the system, and later recipes will be able to compile software from C source code.

For RubyGems that include native C extensions you wish to use with Chef, you should do two things.

  1. Ensure that the C libraries, include files and other assorted "dev" type packages are installed. You should do this in the compile phase after the build-essential recipe.
  2. Use the chef_gem resource in your recipes. This requires Chef version 0.10.10+.
  3. Set the compiletime attribute in roles where such recipes are required. This will ensure that the build tools are available to compile the RubyGems' extensions, as chef_gem happens during the compile phase, too.

Example installation of a devel package at compile-time in a recipe:

package "mypackage-dev" do
  action :nothing
end.run_action(:install)

Example use of chef_gem:

chef_gem "mygem"

Example role:

name "myapp"
run_list(
  "recipe[build-essential]",
  "recipe[myapp]"
)
default_attributes(
  "build_essential" => {
    "compiletime" => true
  }
)

The compile time option (via the attribute) is to ensure that the proper packages are available at the right time in the Chef run. It is recommended that the build-essential recipe appear early in the run list.

The Chef wiki has documentation on the anatomy of a chef run.

Limitations

It is not in the scope of this cookbook to handle installing the required headers for individual software projects in order to compile them, or to compile RubyGems with native C extensions. You should create a cookbook for handling that.

License and Author

Author:: Joshua Timberman (joshua@opscode.com) Author:: Seth Chisamore (schisamo@opscode.com)

Copyright 2009-2011, Opscode, Inc. (legal@opscode.com)

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

This cookbook has no specified dependencies.

Contingent cookbooks

acd Applicable Versions
amoeba_basenode Applicable Versions
apache2_odin_auth Applicable Versions
application_zf Applicable Versions
ark Applicable Versions
asterisk Applicable Versions
atheme-services Applicable Versions
augeas Applicable Versions
aws-codedeploy-agent Applicable Versions
aws-rds Applicable Versions
aws-sdk Applicable Versions
aws_rds Applicable Versions
aws_security Applicable Versions
backup Applicable Versions
backup_lwrp Applicable Versions
backuppc-server Applicable Versions
bacula-client Applicable Versions
bamboo Applicable Versions
bamboo-agent Applicable Versions
baseserver Applicable Versions
bazel Applicable Versions
berkshelf-api Applicable Versions
berkshelf-api-server Applicable Versions
bittorrent Applicable Versions
bjn_ruby Applicable Versions
blp-nrpe Applicable Versions
boost Applicable Versions
boost-source Applicable Versions
builder Applicable Versions
buildr Applicable Versions
burp Applicable Versions
cabot Applicable Versions
cacti Applicable Versions
carbon Applicable Versions
celery-flower Applicable Versions
chef-provisioning Applicable Versions
chef-pry Applicable Versions
chef-zero Applicable Versions
chef_crowd Applicable Versions
chef_eye Applicable Versions
chef_nginx Applicable Versions
chef_ruby Applicable Versions
chef_rvm Applicable Versions
chef_utils Applicable Versions
chruby_install Applicable Versions
cloudformation-test-cookbook Applicable Versions
cloudless-box Applicable Versions
collectd-ng Applicable Versions
collectd_ii Applicable Versions
common_linux Applicable Versions
config-driven-helper Applicable Versions
consul Applicable Versions
container Applicable Versions
couchdb Applicable Versions
crenv Applicable Versions
crowd Applicable Versions
daemontools Applicable Versions
dataduct Applicable Versions
dbench Applicable Versions
diamond Applicable Versions
diamond_lwrp Applicable Versions
diaspora Applicable Versions
disco Applicable Versions
djbdns Applicable Versions
dns Applicable Versions
dnsimple Applicable Versions
docker_registry Applicable Versions
dokku Applicable Versions
doozer Applicable Versions
ds_opencv Applicable Versions
duo-unix Applicable Versions
duplicity_ng Applicable Versions
dynect Applicable Versions
ec2dnsserver Applicable Versions
eldus-s3 Applicable Versions
eldus-tomcat Applicable Versions
elefant Applicable Versions
elkstack Applicable Versions
emacs24 Applicable Versions
encrypted_attributes Applicable Versions
erlang Applicable Versions
errbit Applicable Versions
et_fog Applicable Versions
et_mesos Applicable Versions
exhibitor Applicable Versions
f5 Applicable Versions
fanout Applicable Versions
ffmpeg Applicable Versions
firefox_package Applicable Versions
fish-shell Applicable Versions
fluentd_bundle Applicable Versions
fog_cloud Applicable Versions
formatron_common Applicable Versions
formatron_graphite Applicable Versions
formatron_monitor Applicable Versions
freetds Applicable Versions
frog Applicable Versions
galoshes Applicable Versions
gcc-arm-embedded Applicable Versions
gdash Applicable Versions
gecode Applicable Versions
gem_installation Applicable Versions
geminabox Applicable Versions
gerrit Applicable Versions
gflags Applicable Versions
ghost Applicable Versions
git Applicable Versions
gitlab Applicable Versions
gitlab-server Applicable Versions
gitlab-shell Applicable Versions
gitlabhq Applicable Versions
gnu_parallel Applicable Versions
gotcms Applicable Versions
gpac Applicable Versions
gqlplus Applicable Versions
graphite Applicable Versions
graphite-api Applicable Versions
graphiti Applicable Versions
grinder Applicable Versions
h2o Applicable Versions
haproxy Applicable Versions
hashicorp-vault Applicable Versions
hipsnip-mongodb Applicable Versions
homebrew Applicable Versions
httpie Applicable Versions
httplivestreamsegmenter Applicable Versions
hypertable Applicable Versions
icinga Applicable Versions
il-base Applicable Versions
inifile_chef_gem Applicable Versions
iptables_web Applicable Versions
ipxe Applicable Versions
jackal Applicable Versions
javamonitor Applicable Versions
jemalloc Applicable Versions
jenkinsstack Applicable Versions
jmeter Applicable Versions
jolicode-php Applicable Versions
k8s Applicable Versions
kerl2 Applicable Versions
kibana Applicable Versions
krb5 Applicable Versions
kubernetes Applicable Versions
languages Applicable Versions
letsencrypt-boulder-server Applicable Versions
libarchive Applicable Versions
libev Applicable Versions
libevent Applicable Versions
libfdk_aac Applicable Versions
libmemcached Applicable Versions
libsodium Applicable Versions
libvpx Applicable Versions
libyaml Applicable Versions
lita Applicable Versions
lmctfy Applicable Versions
lockrun Applicable Versions
logstash Applicable Versions
lxd Applicable Versions
mac-app-store Applicable Versions
macbase Applicable Versions
machine_tag Applicable Versions
magentostack Applicable Versions
mariadb Applicable Versions
marketplace_ami Applicable Versions
mcrouter Applicable Versions
mercurial Applicable Versions
meteor Applicable Versions
mod_security Applicable Versions
monit-ng Applicable Versions
mono Applicable Versions
mono3 Applicable Versions
mono4 Applicable Versions
moodle Applicable Versions
mplayer Applicable Versions
mysql Applicable Versions
mysql-chef_gem Applicable Versions
mysql2_chef_gem Applicable Versions
mysql_chef_gem Applicable Versions
mysqler Applicable Versions
nagios Applicable Versions
nagios-xinetd Applicable Versions
ndenv Applicable Versions
netdevops Applicable Versions
newrelic-ng Applicable Versions
nexus Applicable Versions
nginx Applicable Versions
nginx_resources Applicable Versions
node Applicable Versions
nodebrew Applicable Versions
nodejs Applicable Versions
nodestack Applicable Versions
nokogiri Applicable Versions
nrpe Applicable Versions
nrpe-ng Applicable Versions
nvm Applicable Versions
oclint Applicable Versions
ohmage Applicable Versions
omnibus Applicable Versions
open-build-service Applicable Versions
openbazaar Applicable Versions
opencv Applicable Versions
openfortivpn Applicable Versions
opennms Applicable Versions
openntpd Applicable Versions
openresty Applicable Versions
openssl-fips Applicable Versions
openssl-source Applicable Versions
openstack Applicable Versions
openstack-clients Applicable Versions
openstack-mistral Applicable Versions
opsview_client Applicable Versions
opsworks_ruby Applicable Versions
opt-modules Applicable Versions
opt-python Applicable Versions
oracle-instantclient Applicable Versions
ossec Applicable Versions
osslsigncode Applicable Versions
pantry Applicable Versions
paramount Applicable Versions
passenger_apache2 Applicable Versions
pcre Applicable Versions
pdns Applicable Versions
pennyworth Applicable Versions
percona Applicable Versions
percona-multi Applicable Versions
perlbrew Applicable Versions
pg_repack Applicable Versions
phantomjs Applicable Versions
php Applicable Versions
phpenv Applicable Versions
phpstack Applicable Versions
pipeline Applicable Versions
poise-ruby-build Applicable Versions
postfix-dovecot Applicable Versions
postgres Applicable Versions
postgresql Applicable Versions
postmodern Applicable Versions
prometheus Applicable Versions
prose Applicable Versions
prosody Applicable Versions
protobuf Applicable Versions
pure-ftpd Applicable Versions
python Applicable Versions
python-sip Applicable Versions
pythonstack Applicable Versions
r-project Applicable Versions
rackspace_cloudbackup Applicable Versions
razor Applicable Versions
rbenv Applicable Versions
re2 Applicable Versions
redis2 Applicable Versions
redisio Applicable Versions
repmgr Applicable Versions
reprepro Applicable Versions
resin Applicable Versions
rethinkdb Applicable Versions
riak Applicable Versions
riemann2 Applicable Versions
rightscale_backup Applicable Versions
rightscale_volume Applicable Versions
ros Applicable Versions
roundcube Applicable Versions
route53 Applicable Versions
rubies Applicable Versions
ruby-enterprise-install Applicable Versions
ruby-ng Applicable Versions
ruby_enterprise Applicable Versions
ruby_installer Applicable Versions
rundeck Applicable Versions
runit Applicable Versions
rvm Applicable Versions
rvm_fw Applicable Versions
s3-cookbook Applicable Versions
s6 Applicable Versions
sanitize Applicable Versions
sc-mongodb Applicable Versions
screen Applicable Versions
shinken Applicable Versions
sickrage Applicable Versions
simple_passenger Applicable Versions
singularity Applicable Versions
sk_ruby Applicable Versions
sockstat Applicable Versions
sox_mp3 Applicable Versions
sparrow Applicable Versions
sphinx Applicable Versions
spigot Applicable Versions
sqitch Applicable Versions
stack_commons Applicable Versions
stackstorm Applicable Versions
statsd Applicable Versions
statsite Applicable Versions
stow Applicable Versions
stress_ng Applicable Versions
strongloop Applicable Versions
stud Applicable Versions
stumpwm Applicable Versions
stunnel Applicable Versions
suhosin Applicable Versions
supermarket Applicable Versions
tarsnap Applicable Versions
taskwarrior Applicable Versions
taurus Applicable Versions
teamforge-associations Applicable Versions
terraform Applicable Versions
tesseract Applicable Versions
test-kitchen Applicable Versions
the_silver_searcher Applicable Versions
thrift Applicable Versions
transmission Applicable Versions
ucspi-tcp Applicable Versions
unicorn Applicable Versions
unimrcp Applicable Versions
unreal-ircd Applicable Versions
uptime Applicable Versions
ut_base Applicable Versions
varnish Applicable Versions
varnishd Applicable Versions
webobjects Applicable Versions
wordpress Applicable Versions
x264 Applicable Versions
xbuild Applicable Versions
xdebug Applicable Versions
xml Applicable Versions
yara Applicable Versions
yasm Applicable Versions
zabbix-agent Applicable Versions
zabbix_lwrp Applicable Versions
zend-server Applicable Versions
zeromq Applicable Versions
zerovm Applicable Versions
zmq Applicable Versions
znc Applicable Versions
zookeeper Applicable Versions
zookeeper_bridge Applicable Versions

No quality metric results found