cookbook 'fcgiwrap_rpm', '= 2.0.0'
fcgiwrap_rpm (2) Versions 2.0.0 Follow0
Creates rpm package for fcgiwrap.
cookbook 'fcgiwrap_rpm', '= 2.0.0', :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.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