- From: Bryan McLellan <
>
- To:
- Subject: [chef] Re: Chef isn't properly detecting a rackspace cloud server
- Date: Tue, 29 May 2012 10:41:09 -0400
On Mon, May 28, 2012 at 11:35 PM,
<
>
wrote:
>
1. Why does it not properly detect that it's a Rackspace Cloud server, and
Rackspace (and most/all of the cloud providers) create such a
commoditized environment there is no way to tell which cloud you are
in without making one or more network calls, which are likely to fail
and cause significant delays in the Ohai run.
>
2. Is there a way to tell Chef that it's a Rackspace Cloud server so that
>
the
>
code above works?
Use Ohai 0.6.14.rc.1 (gem install ohai --pre) which should release
this week. Then create an empty file called
"/etc/chef/ohai/hints/rackspace.json" This is part of the new hints
system that we created for working around problems identifying clouds.
In the future, the knife-rackspace plugin will always create this for you.
You can also use the Rackspace API to create this file for you.
Bryan
Archive powered by MHonArc 2.6.16.