cookbook 'checkinstall', '~> 1.0.2'
checkinstall (3) Versions 1.0.2 Follow3
Installs/Configures checkinstall
cookbook 'checkinstall', '~> 1.0.2', :supermarket
knife supermarket install checkinstall
knife supermarket download checkinstall
checkinstall Cookbook
This cookbook installs checkinstall software
Requirements
Supported Operating Systems
- Debian-family Linux Distributions
- RedHat-family Linux Distributions
Attributes
Recommended tunables
-
checkinstall['url']
- String. Points to the checkinstall source codes archive location
Usage
Include the recipe checkinstall
somewhere in your run list, then use the LWRPs checkinstall_package
in your recipes.
checkinstall_package
Resource
Defines wrapper for configure/make/checkinstall chain of commands.
Example (with full attributes list):
checkinstall_package "strongswan" do
source_archive "/var/chef/cache/strongswan-5.1.3.tar.bz2"
#source_dir "/var/chef/cache/strongswan-5.1.3"
configure_options "--enable-xauth-eap --enable-eap-tls --enable-eap-radius"
version "5.1.3"
binary_name "ipsec"
#options "-y"
#binary_location "/usr/local/sbin/ipsec"
#cmake false
#autoconf false
#autoheader false
#make true
#configure true
#checkinstall true
end
Requires source_archive
OR source_dir
attribute, other attributes are optional.
* source_archive
- Defaults to nil
- One of the required attributes
* source_dir
- Defaults to nil
- One of the required attributes
* version
- Defaults to nil
- Necessary if you want to support software updates
* binary_name
- Defaults to nil
- Necessary when package name is different from the binary name
* binary_location
- Defaults to nil
- Should be used when the binary location is not in the system $PATH
* autoheader
- Defaults to false
- Should be used when package is configured with autoheader command
* autoconf
- Defaults to false
- Should be used when package is configured with autoheader command
* cmake
- Defaults to false
- Should be used when package is configured with cmake instead of ./configure
* options
- Defaults to ""
- Should be used when adding some additional options to checkinstall
* configure
- Defaults to true
- Should be set to false
, when cmake should be used
* make
- Defaults to true
- Should be set to false
, when there is no need to compile the software
* checkinstall
- Defaults to true
- Should be set to false
, when there is no need to install the software
License and Authors
- Author:: Rostyslav Fridman (rostyslav.fridman@gmail.com)
Copyright 2014, Rostyslav Fridman 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
CHANGELOG for checkinstall
This file is used to list changes made in each version of checkinstall.
1.0.2
- Add make options parameter
1.0.1
- Change the way directory structure is being created
1.0.0
- Initial release of checkinstall cookbook
Collaborator Number Metric
1.0.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.2 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
1.0.2 failed this metric
FC064: Ensure issues_url is set in metadata: checkinstall/metadata.rb:1
FC065: Ensure source_url is set in metadata: checkinstall/metadata.rb:1
FC066: Ensure chef_version is set in metadata: checkinstall/metadata.rb:1
FC069: Ensure standardized license defined in metadata: checkinstall/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:47
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:58
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:66
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:86
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:94
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:102
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:120
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.0.2 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
1.0.2 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
1.0.2 failed this metric
1.0.2 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
1.0.2 failed this metric
FC064: Ensure issues_url is set in metadata: checkinstall/metadata.rb:1
FC065: Ensure source_url is set in metadata: checkinstall/metadata.rb:1
FC066: Ensure chef_version is set in metadata: checkinstall/metadata.rb:1
FC069: Ensure standardized license defined in metadata: checkinstall/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:47
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:58
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:66
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:86
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:94
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:102
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:120
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.0.2 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
1.0.2 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
1.0.2 failed this metric
FC065: Ensure source_url is set in metadata: checkinstall/metadata.rb:1
FC066: Ensure chef_version is set in metadata: checkinstall/metadata.rb:1
FC069: Ensure standardized license defined in metadata: checkinstall/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:47
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:58
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:66
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:86
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:94
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:102
FC085: Resource using new_resource.updated_by_last_action to converge resource: checkinstall/providers/package.rb:120
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.2 passed this metric
Testing File Metric
1.0.2 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
1.0.2 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
1.0.2 failed this metric
1.0.2 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