cookbook 'xbuild', '~> 0.1.0', :supermarket
xbuild (1) Versions 0.1.0 Follow0
Installs/Configures xbuild
cookbook 'xbuild', '~> 0.1.0'
knife supermarket install xbuild
knife supermarket download xbuild
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
yum >= 0.0.0 |
build-essential >= 0.0.0 |
git >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.0 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.0 failed this metric
FC039: Node method cannot be accessed with key: xbuild/recipes/test.rb:22
FC039: Node method cannot be accessed with key: xbuild/recipes/test.rb:23
FC039: Node method cannot be accessed with key: xbuild/recipes/test.rb:24
FC064: Ensure issues_url is set in metadata: xbuild/metadata.rb:1
FC065: Ensure source_url is set in metadata: xbuild/metadata.rb:1
FC066: Ensure chef_version is set in metadata: xbuild/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: xbuild/metadata.rb:1
FC069: Ensure standardized license defined in metadata: xbuild/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Publish Metric
0.1.0 passed this metric
Supported Platforms Metric
0.1.0 failed this metric
xbuild should declare what platform(s) it supports.
Testing File Metric
0.1.0 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.0 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
0.1.0 failed this metric
0.1.0 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.0 failed this metric
FC039: Node method cannot be accessed with key: xbuild/recipes/test.rb:22
FC039: Node method cannot be accessed with key: xbuild/recipes/test.rb:23
FC039: Node method cannot be accessed with key: xbuild/recipes/test.rb:24
FC064: Ensure issues_url is set in metadata: xbuild/metadata.rb:1
FC065: Ensure source_url is set in metadata: xbuild/metadata.rb:1
FC066: Ensure chef_version is set in metadata: xbuild/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: xbuild/metadata.rb:1
FC069: Ensure standardized license defined in metadata: xbuild/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Publish Metric
0.1.0 passed this metric
Supported Platforms Metric
0.1.0 failed this metric
xbuild should declare what platform(s) it supports.
Testing File Metric
0.1.0 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.0 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
0.1.0 failed this metric
FC039: Node method cannot be accessed with key: xbuild/recipes/test.rb:23
FC039: Node method cannot be accessed with key: xbuild/recipes/test.rb:24
FC064: Ensure issues_url is set in metadata: xbuild/metadata.rb:1
FC065: Ensure source_url is set in metadata: xbuild/metadata.rb:1
FC066: Ensure chef_version is set in metadata: xbuild/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: xbuild/metadata.rb:1
FC069: Ensure standardized license defined in metadata: xbuild/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 passed this metric
Publish Metric
0.1.0 passed this metric
Supported Platforms Metric
0.1.0 failed this metric
xbuild should declare what platform(s) it supports.
Testing File Metric
0.1.0 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.0 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
0.1.0 passed this metric
0.1.0 failed this metric
xbuild should declare what platform(s) it supports.
Testing File Metric
0.1.0 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.0 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
0.1.0 failed this metric
0.1.0 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