Giter VIP home page Giter VIP logo

fpm-recipes's Introduction

Henrik's fpm-recipes

G'dday wanderer. You have searched long and hard for a unified repository that allows you to build a complete CentOS stack.

You can rest your weary feet now.

bundle
# will build from recipe.rb
bundle exec rake recipes:build[nginx] 
# or why not: will download existing rpm from 'sources.yaml'
bundle exec rake recipes:build[elasticsearch]

As you understand, you can feed any of the folders into the build[ ... ] task and have it build automatically. The Rakefile takes care of knowing whether to just download the RPM straight off a source or to build from source.

License

MIT

source.yaml files

Example is elasticsearch/source.yaml and reproduced below:

---
name:
  'elasticsearch'
version:
  '1.0.1'
sha1:
  'd72bf1cca99ed89291fd0b7b4c6c6a5e0aceeb62'
uri_template:
  'https://download.elasticsearch.org/elasticsearch/elasticsearch/$name-$version.noarch.rpm'

The parameters are as follows:

name

Should be the same name as the folder, which should equal the package name.

version

The version of the package to download.

sha1

A sha1 hash, hexdigest-formatted

uri_template

This is the source from which to download the package. Any settings you have defined in the yaml file, except this one, will be replaced inside the string.

fpm-recipes's People

Contributors

haf avatar karaaie avatar neochrome avatar tonyabell avatar

Watchers

Kris Buytaert avatar James Cloos avatar Johan Suleiko Allansson avatar Carl Ripa avatar Martin Siljeström avatar Per Lööf avatar Erik Rosell avatar  avatar Patrik Eriksson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.