Last active
August 29, 2015 14:05
-
-
Save beddari/59f91a5f274e6ae9e966 to your computer and use it in GitHub Desktop.
omnibus-installer metadata format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Projects root | |
https://url/path/to/root | |
Variables: | |
operatingsystem=redhat,centos,fedora,ubuntu,debian,darwin | |
version=majorosrelease, e.g 6 or 7 for centos, 14.04 for ubuntu | |
arch=output of uname -s, typically x86_64 | |
# <project>/versions.txt | |
# tag version | |
3.6 3.6.2-1 | |
3.6.2 3.6.2-1 | |
stable 3.6.2-1 | |
# <project>/platforms.txt | |
# Lookup table for deciding which package to install | |
# operatingsystem version arch map | |
# default map is "%operatingsystem/$version/$arch" | |
centos 7 x86_64 el7 | |
redhat 7 x86_64 el7 | |
redhat 6 x86_64 el6 | |
fedora 20 x86_64 f20 | |
ubuntu 14.04 x86_64 trusty | |
# <project>/packages.txt | |
# map version url sha256 | |
el6 $version https://url.to/path/puppet-omnibus-$version-$arch.rpm <sha256> | |
darwin 3.6.2-1 https://url.to/path/puppet-omnibus-3.6.2-1-darwin_$arch.pkg <sha256> | |
E.g a minmal valid project with no sha256 | |
puppet/packages.txt: | |
redhat/6/x86_64 3.6.2 https://url.to/path/puppet-omnibus-3.6.2-1.x86_64.rpm | |
or with | |
redhat/6/x86_64 3.6.2 https://url.to/path/puppet-omnibus-3.6.2-1.x86_64.rpm <sha256sum> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment