No package for power architecture?


#1

Hi all,

I am trying to bootstrap a node which is running powerpc. Omnibus is failing saying that there is no valid package available. I have chef installed already on the power system. Is there any way to tell knife that if chef is installed, it should just move ahead with bootstraping process?

Thanks,
~Peeyush Gupta


#2

Hey Peeyush,

You’ll want to look at bootstrap
templates<http://docs.opscode.com/knife_bootstrap.html#custom-templates>.
knife bootstrap uses “chef-full” by default, which uses the omnibus
installer. If all your powerpc nodes already have chef installed on them,
then you can write a custom bootstrap template to do just the configuration
steps<https://github.com/opscode/chef/blob/master/lib/chef/knife/bootstrap/chef-full.erb#L36-L67>
.

For that matter, you might want to consider including your ruby and chef
install process in a template. Or, you might check to see whether one of
the “gems” bootstrap
templateshttps://github.com/opscode/chef/tree/master/lib/chef/knife/bootstrapworks
for you.

Matt Moretti

On Wed, Feb 19, 2014 at 6:07 AM, Peeyush Gupta gpeeyush@ymail.com wrote:

Hi all,

I am trying to bootstrap a node which is running powerpc. Omnibus is
failing saying that there is no valid package available. I have chef
installed already on the power system. Is there any way to tell knife that
if chef is installed, it should just move ahead with bootstraping process?

Thanks,
~Peeyush Gupta


#3

FWIW I did source builds of the omnibus-chef on 32-bit PPC awhile back
for Debian and Ubuntu with no issues. You should be able to build your
own packages simply following the build instructions.

Thanks,
Matt Ray
Cloud Integrations Product Lead :: Chef
512.731.2218 :: matt@getchef.com
mattray :: GitHub :: IRC :: Twitter

On Wed, Feb 19, 2014 at 6:16 AM, Matthew Moretti werebus@gmail.com wrote:

Hey Peeyush,

You’ll want to look at bootstrap templates. knife bootstrap uses "chef-full"
by default, which uses the omnibus installer. If all your powerpc nodes
already have chef installed on them, then you can write a custom bootstrap
template to do just the configuration steps.

For that matter, you might want to consider including your ruby and chef
install process in a template. Or, you might check to see whether one of the
"gems" bootstrap templates works for you.

Matt Moretti

On Wed, Feb 19, 2014 at 6:07 AM, Peeyush Gupta gpeeyush@ymail.com wrote:

Hi all,

I am trying to bootstrap a node which is running powerpc. Omnibus is
failing saying that there is no valid package available. I have chef
installed already on the power system. Is there any way to tell knife that
if chef is installed, it should just move ahead with bootstraping process?

Thanks,
~Peeyush Gupta