andytinycat / puppet-omnibus

Omnibus package of Puppet with an embedded Ruby and required gems (Chef-style)
55 stars 34 forks source link

There's no package 'build-essential' in CentOs #14

Closed leflamm closed 11 years ago

leflamm commented 11 years ago
> cat /etc/redhat-release 
CentOS release 6.4 (Final)

.

/tmp/omnibus/puppet-omnibus> bundle exec fpm-cook recipes/puppet-omnibus.rb
===> Recipe puppet-omnibus is an Omnibus package; looking for child recipes to build
===> Located recipe at /tmp/omnibus/puppet-omnibus/recipes/libyaml.rb for child recipe libyaml; starting build
===> Starting package creation for libyaml-0.1.4 (centos, rpm)
===> 
===> Verifying build_depends and depends with Puppet
===> Verifying package: build-essential
===> Missing/wrong version packages: build-essential
===> Running as root; installing missing/wrong version build_depends and depends with Puppet
===> Installing package: build-essential
FATAL: While processing depends package 'build-essential':
FATAL: Execution of '/usr/bin/yum -d 0 -e 0 -y install build-essential' returned 1: Error: Nothing to do
FATAL: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install build-essential' returned 1: Error: Nothing to do

.

/tmp/omnibus/puppet-omnibus> yum install build-essential
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.bio.lmu.de
 * epel: be.mirror.eurid.eu
 * extras: centos.copahost.com
 * updates: centos.bio.lmu.de
Setting up Install Process
No package build-essential available.
Error: Nothing to do
beddari commented 11 years ago

Hi there, thanks for trying out the project, RHEL/CentOS support is not merged to master yet, it was left a little in limbo before my vacation started. I'm back to clean house in a few weeks :-)

Could you try again using the code on the dev branch? It should be in a working state for CentOS.

beddari commented 11 years ago

Oh, if you do try the dev branch, keep in mind the main recipe is now recipe.rb and I've not decided yet if I want to continue using Bundler as in the current documentation.

randomvariable commented 11 years ago

What are you thinking of replacing Bundler with?

beddari commented 11 years ago

Nothing, but as you should use a package or Bundler anyways for your fpm-cookery setup it is kind of redundant here. Made sense earlier when this needed the omnibus-branch fork of fpm-cookery but now that support is upstream.

So as for what to document I'm thinking Vagrant ... a setup that builds the package automatically on all supported platforms on 'vagrant up'.

Closing this, if anyone do test the dev branch let me know how it works out.