Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haf/fpm-recipes
My collection of CentOS recipes.
https://github.com/haf/fpm-recipes
Last synced: 2 months ago
JSON representation
My collection of CentOS recipes.
- Host: GitHub
- URL: https://github.com/haf/fpm-recipes
- Owner: haf
- Created: 2013-11-24T10:49:05.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-10T08:31:04.000Z (almost 10 years ago)
- Last Synced: 2024-10-06T10:01:15.356Z (3 months ago)
- Language: Ruby
- Size: 467 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/haf/fpm-recipes/blob/master/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.