cookbook 'fcgiwrap_rpm', '~> 2.0.1'
fcgiwrap_rpm (2) Versions 2.0.1 Follow0
Creates rpm package for fcgiwrap.
cookbook 'fcgiwrap_rpm', '~> 2.0.1', :supermarket
knife supermarket install fcgiwrap_rpm
knife supermarket download fcgiwrap_rpm
fcgiwrap_rpm Cookbook
Creates rpm package for fcgiwrap
. The primary use case for this cookbook is to leverage Test Kitchen to:
- create a pristine virtual machine
- download, build, & package
fcgiwrap
source code
The newly-created RPM will be located at:
. └── .products └── fcgiwrap-x.y.z-r.el6.x86_64.rpm
Requirements
Cookbooks
The following cookbook is a dependency because it's used for common "default" functionality.
Platforms
The following platform is supported and tested under Test Kitchen:
- CentosOS 6.5
Other RHEL family distributions are assumed to work.
Attributes
File / Attribute(s) | Description |
---|---|
[default.rb](attributes/default.rb) | |
node['fcgiwrap']['packages'] |
array of packages required to build fcgiwrap |
node['fcgiwrap']['git_url'] |
URL of fcgiwrap git repo |
node['fcgiwrap']['name'] |
name to be used for RPM |
node['fcgiwrap']['version'] |
version to be used for RPM |
node['fcgiwrap']['pre_tidy'] |
set this to true to cleanup before build |
node['fcgiwrap']['post_tidy'] |
set this to true to cleanup after build |
Recipes
This cookbook provides one main recipe for building a binary RPM.
-
default.rb
- Use this recipe to build binary RPM.
default
This recipe builds an fcgiwrap
binary RPM.
Usage
Use Test Kitchen to converge the node and retrieve the resultant RPM from .products/
.
$ bundle exec kitchen converge
Alternatively, the following command will converge the node and automatically destroy it when finished. Retrieve the RPM from .products/
.
$ bundle exec kitchen test
License & Authors
- Author:: Doc Walker (4-20ma@wvfans.net)
Copyright 2014, Doc Walker 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
yum-epel ~> 0.3.6 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
2.0.1 / 2014-12-26
-
FIX
- Fix rake knife task for travis-ci | view -
IMPROVE
- Update chefspec to v4.2.0 | view -
IMPROVE
- Adjust style of README links | view -
IMPROVE
- Add cookbook version badge to README | view -
IMPROVE
- Update ruby to v2.1.5 | view -
IMPROVE
- Remove coveralls.io from README | view -
IMPROVE
- Update rubocop to v0.28.0 | view -
FIX
- Update deprecated method | view -
IMPROVE
- Update chefspec to v4.1.1 | view -
IMPROVE
- Update berkshelf to v3.2.2 | view -
IMPROVE
- Remove coveralls.io coverage report | view -
IMPROVE
- Update README to use shields.io badges | view -
IMPROVE
- Add coveralls.io coverage check | view -
IMPROVE
- Update travis-ci to containers, caching | view
2.0.0 / 2014-08-31
-
IMPROVE
- Add rake changelog task | view -
IMPROVE
- Remove debian/ubuntu support | view -
BREAK
- Rename cookbook to fcgiwrap_rpm | view -
IMPROVE
- Update emeril gem | view -
IMPROVE
- Update to ruby-2.1.2 | view -
IMPROVE
- Update chefspec gem | view -
IMPROVE
- Update rubocop gem | view -
IMPROVE
- Update rubocop gem | view -
IMPROVE
- Update chefspec gem | view -
FIX
- Lock rspec to v2.14.0 | view -
IMPROVE
- Update foodcritic gem | view -
FIX
- Use bundled kitchen in README | view
1.1.0 / 2014-05-06
-
BREAK
- move final product to.products
-
NEW
- add integration tests | [#10][] -
IMPROVE
- remove specs from directory resource | [#8][] -
IMPROVE
- update kitchen-vagrant gem | [#6][] -
IMPROVE
- update rubocop gem | [#5][] -
IMPROVE
- update berkshelf gem | [#4][]
1.0.0 / 2014-04-27
-
BREAK
- rename cookbook tofcgiwrap_rpm
-
IMPROVE
- add support for pre-/post-build cleanup -
IMPROVE
- refactor devel package specification, examples
0.1.1 / 2014-04-26
-
IMPROVE
- update README with location of binary RPM -
FIX
- add 3rd-party foodcritic rules (fix travis-ci build error)
0.1.0 / 2014-04-26
-
NEW
- initial release
Legend
-
BREAK
- breaking changes -
FIX
- bug fix -
IMPROVE
- improvement of existing feature -
NEW
- new feature
Collaborator Number Metric
2.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.0.1 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
2.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: fcgiwrap_rpm/metadata.rb:1
FC065: Ensure source_url is set in metadata: fcgiwrap_rpm/metadata.rb:1
FC066: Ensure chef_version is set in metadata: fcgiwrap_rpm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: fcgiwrap_rpm/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.1 passed this metric
Testing File Metric
2.0.1 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
2.0.1 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
2.0.1 failed this metric
2.0.1 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
2.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: fcgiwrap_rpm/metadata.rb:1
FC065: Ensure source_url is set in metadata: fcgiwrap_rpm/metadata.rb:1
FC066: Ensure chef_version is set in metadata: fcgiwrap_rpm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: fcgiwrap_rpm/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.0.1 passed this metric
Testing File Metric
2.0.1 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
2.0.1 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
2.0.1 failed this metric
FC065: Ensure source_url is set in metadata: fcgiwrap_rpm/metadata.rb:1
FC066: Ensure chef_version is set in metadata: fcgiwrap_rpm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: fcgiwrap_rpm/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.0.1 passed this metric
Testing File Metric
2.0.1 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
2.0.1 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
2.0.1 failed this metric
2.0.1 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