Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

fcgiwrap_rpm Cookbook

Chef cookbook Travis Gemnasium

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
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

Acknowledgements

License & Authors

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.

About

Creates rpm package for fcgiwrap.

Resources

Packages

No packages published

Languages