cookbook 'remote_install', '= 1.0.2'
remote_install (14) Versions 1.0.2 Follow5
Provides an opinionated way to download and install remote software
cookbook 'remote_install', '= 1.0.2', :supermarket
knife supermarket install remote_install
knife supermarket download remote_install
remote_install Cookbook
Provides a highly-opinionated way to download, extract, and compile software from a remote source.
This project is managed by the CHEF Release Engineering team. For more information on the Release Engineering team's contribution, triage, and release process, please consult the CHEF Release Engineering OSS Management Guide.
Usage
Install bash:
remote_install 'bash' do source 'http://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz' version '4.3' checksum 'afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4' build_command './configure' compile_command 'make' install_command 'make install' end
The remote_install
resource has the following attributes:
Attribute | Description |
---|---|
source |
the URL to download |
checksum |
the SHA256 checksum for the downlaoded asset from source
|
build_command |
the command to "build" |
compile_command |
the command to "compile" |
install_command |
the command to "install" |
environment |
the environment to set while building |
License & Authors
- Author: Seth Vargo (sethvargo@gmail.com)
- Author: Yvonne Lam (yvonne@chef.io)
- Author: Seth Chisamore (schisamo@chef.io)
Copyright 2014, Chef Software, Inc. (<legal@chef.io>) 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
remote_install Cookbook CHANGELOG
This file is used to list changes made in each version of the remote_install cookbook.
v1.0.2
- the -v flag for tar is unsupported on older and bsd versions of tar, which is an issue on older platforms
v1.0.1
- Compute extract path basename based on tarball name. Add md5 support.
- Allow the basename of extracted directory to be specified.
v1.0.0
- Initial public release
Collaborator Number Metric
1.0.2 passed this metric
Contributing File Metric
1.0.2 passed this metric
Foodcritic Metric
1.0.2 failed this metric
FC057: Library provider does not declare use_inline_resources: remote_install/libraries/remote_install.rb:39
FC066: Ensure chef_version is set in metadata: remote_install/metadata.rb:1
FC069: Ensure standardized license defined in metadata: remote_install/metadata.rb:1
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.2 passed this metric
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.0.2 passed this metric
Version Tag Metric
1.0.2 passed this metric
1.0.2 passed this metric
1.0.2 passed this metric
Foodcritic Metric
1.0.2 failed this metric
FC057: Library provider does not declare use_inline_resources: remote_install/libraries/remote_install.rb:39
FC066: Ensure chef_version is set in metadata: remote_install/metadata.rb:1
FC069: Ensure standardized license defined in metadata: remote_install/metadata.rb:1
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.2 passed this metric
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.0.2 passed this metric
Version Tag Metric
1.0.2 passed this metric
1.0.2 failed this metric
FC066: Ensure chef_version is set in metadata: remote_install/metadata.rb:1
FC069: Ensure standardized license defined in metadata: remote_install/metadata.rb:1
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.2 passed this metric
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.0.2 passed this metric
Version Tag Metric
1.0.2 passed this metric
1.0.2 passed this metric
1.0.2 passed this metric
Version Tag Metric
1.0.2 passed this metric
1.0.2 passed this metric