[chef] Re: Re: Re: Problem following "Chef Fundamentals - Module 3" with vagrant


Chronological Thread 
  • From: Rob Watkin < >
  • To: Chef List < >
  • Subject: [chef] Re: Re: Re: Problem following "Chef Fundamentals - Module 3" with vagrant
  • Date: Wed, 20 Nov 2013 12:04:43 +0000

Thanks, I'm not using Berkshelf yet but I expect I will.


On 20 November 2013 11:56, Cassiano Leal < " target="_blank"> > wrote:
Are you using Berkshelf?

If so, stick this in your Berksfile:

cookbook ‘apt’

Then, add “recipe[apt::default]” to the top of your run_list in the Vagrantfile.

On Wednesday, November 20, 2013 at 07:06, Rob Watkin wrote:

Doh! :-)

I have fixed this by running 

:~# apt-get update

Now I just need to figure out how to put this into Vagrant :-)

Thanks
Rob


On 20 November 2013 08:44, Rob Watkin < " target="_blank"> > wrote:
I have followed the istructions for setting up a Vagrant Lab in "Chef Fundamentals Webinar - Training Lab Setup" prior doing "Chef Fundamentals Module 3".

When I run chef-client to install the "apache" cookbook I get ...
Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-bin i386 2.2.22-1ubuntu1.3
 404  Not Found [IP: 91.189.91.14 80]

It seems to be the image config.vm.box_url = "https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04-i386_provisionerless.box" which is causing the problem

because if I run ...
:~# apt-get install apache2

I get ...
Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-bin i386 2.2.22-1ubuntu1.3
 404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main apache2.2-bin i386 2.2.22-1ubuntu1.3
 404  Not Found [IP: 91.189.92.200 80]

I have looked at http://us.archive.ubuntu.com/ubuntu/ and it seems it should be going to http://us.archive.ubuntu.com/ubuntu/dists.

Any ideas on how I can go about fixing this so I can get on with the training webinar.

Thanks
Rob



--
Circular reasoning is legitimate due to circular reasoning being legitimate.





Archive powered by MHonArc 2.6.16.

§