crowbar/barclamp-crowbar — pull request #375 by VictorLowther (2013-02-06 21:16:44+00:00)
Title: First pass at adding native package support to Crowbar [1/2]

This pull request adds basic support for generating RPM and Deb files

The main place this is added is to package_barclamp.sh. To use it,
pass the --deb and --rpm flags to package_barclamp.sh, and it will
generate installable .deb and .rpm packages along with the package
cache tarballs.

The generated packages have a semi-useless version numbering scheme
based the current time that we will definitly want to replace with
something semantic at some point. The utility that generates the
specfiles and debian control metadata knows how to dependency-order
the packages based on intra barclamp dependencies, and I also added a
required_pkgs section to the gems and rpms sections of the
crowbar.yml, and we also know how to include those dependencies in the
generated packages.

I also added the ability to build an ISO using OS native packages, but
the install process does not know how to use native barclamp packages
yet.

Next steps:

1: Get a "working" admin node.
2: Work on automatically translating gems -> RPM packages/debs.
3: Fix all the assumptions about bundler that will break when that happens.

crowbar.yml | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)

Crowbar-Pull-ID: 5b598c8110f085ef576877b660248715e65e9054

Crowbar-Release: development