[chef] Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined


Chronological Thread 
  • From: "Jesus M. Movilla" < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Recipe application does not work because chef_envronment is not defined
  • Date: Wed, 11 Apr 2012 11:28:37 +0200

Ok

I have been a repo names "lucid-0.10". I guess this is the good one.

I will try again
Thanks!

On Wed, Apr 11, 2012 at 11:19 AM, Jesus M. Movilla < "> > wrote:
Hi Andrea

Thanks!

I have followed the instructions from this page to do it. The node is Ubuntu 10.10

Debian packaging; the service will be stopped and started for you.

sudo apt-get update
sudo apt-install chef

and this is what it hapens:

:~# sudo apt-get install chef
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
chef ya está en su versión más reciente.
0 actualizados, 0 se instalarán, 0 para eliminar y 92 no actualizados.

If I type chef-client, the version is not upgraded... (

[Wed, 11 Apr 2012 11:11:03 +0200] INFO: Starting Chef Run (Version 0.9.18)



Typing apt-get update, the following opscode repos appear in the full list of repos:

Obj http://apt.opscode.com lucid Release.gpg
Ign http://apt.opscode.com/ lucid/main Translation-en
Ign http://apt.opscode.com/ lucid/main Translation-es
Obj http://apt.opscode.com lucid Release
Ign http://apt.opscode.com lucid/main amd64 Packages
Obj http://apt.opscode.com lucid/main amd64 Packages


What is missing to upgrade chef-client to 0.10?

Regards


On Wed, Apr 11, 2012 at 10:47 AM, Andrea Campi < " target="_blank"> > wrote:
On Wed, Apr 11, 2012 at 10:15 AM, Jesus M. Movilla
< " target="_blank"> > wrote:
> Hi Andrea
>
> Regarding #1. Next I include the backtrace. Just to point out that
> "chef-client version" in the node shows "Starting Chef Run (Version
> 0.9.18)". However Chef server is 0.10.4

That's your problem then, you need to upgrade the chef gem on your
client. 0.9.x didn't know about environments.






Archive powered by MHonArc 2.6.16.

§