cookbook 'install_from', '~> 3.0.4'
install_from (2) Versions 3.0.4 Follow12
Installs/Configures install_from
cookbook 'install_from', '~> 3.0.4', :supermarket
knife supermarket install install_from
knife supermarket download install_from
install_from chef cookbook
Installs/Configures install_from
Overview
Does the fetch-unpack-configure-build-install dance.
Given a project pig
, with url http://apache.org/pig/pig-0.8.0.tar.gz
, and
the default :prefix_root of /usr/local
, this provider will
- fetch it to :package_file (
/usr/local/src/pig-0.8.0.tar.gz
) - unpack it to :install_dir (
/usr/local/share/pig-0.8.0
) - create a symlink for :home_dir (
/usr/local/share/pig
) pointing to :install_dir - configure the project
- build the project
- install the project
Recipes
-
default
- Base configuration for install_from
Integration
Supports platforms: debian and ubuntu
Attributes
-
[:install_from][:apache_mirror]
- Default Apache mirror to use (default: "http://apache.mirrors.tds.net")- Choose one of the Apache project mirrors -- omit the trailing '/'s. The token
:apache_mirror:
(note : at end of token) in arelease_url
attribute will be replaced by this base; see the pig recipe for an example.
- Choose one of the Apache project mirrors -- omit the trailing '/'s. The token
License and Author
Author:: Philip (flip) Kromer - Infochimps, Inc (coders@infochimps.com)
Copyright:: 2011, Philip (flip) Kromer - Infochimps, Inc
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.
readme generated by cluster_chef's cookbook_munger
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Collaborator Number Metric
3.0.4 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
3.0.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
3.0.4 failed this metric
FC016: LWRP does not declare a default action: install_from/resources/release.rb:1
FC021: Resource condition in provider may not behave as expected: install_from/providers/release.rb:41
FC064: Ensure issues_url is set in metadata: install_from/metadata.rb:1
FC065: Ensure source_url is set in metadata: install_from/metadata.rb:1
FC066: Ensure chef_version is set in metadata: install_from/metadata.rb:1
FC069: Ensure standardized license defined in metadata: install_from/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: install_from/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.0.4 passed this metric
Testing File Metric
3.0.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
3.0.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
3.0.4 failed this metric
3.0.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
3.0.4 failed this metric
FC016: LWRP does not declare a default action: install_from/resources/release.rb:1
FC021: Resource condition in provider may not behave as expected: install_from/providers/release.rb:41
FC064: Ensure issues_url is set in metadata: install_from/metadata.rb:1
FC065: Ensure source_url is set in metadata: install_from/metadata.rb:1
FC066: Ensure chef_version is set in metadata: install_from/metadata.rb:1
FC069: Ensure standardized license defined in metadata: install_from/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: install_from/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
3.0.4 passed this metric
Testing File Metric
3.0.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
3.0.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
3.0.4 failed this metric
FC021: Resource condition in provider may not behave as expected: install_from/providers/release.rb:41
FC064: Ensure issues_url is set in metadata: install_from/metadata.rb:1
FC065: Ensure source_url is set in metadata: install_from/metadata.rb:1
FC066: Ensure chef_version is set in metadata: install_from/metadata.rb:1
FC069: Ensure standardized license defined in metadata: install_from/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: install_from/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
3.0.4 passed this metric
Testing File Metric
3.0.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
3.0.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
3.0.4 failed this metric
3.0.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