[chef] Re: Is Berkshelf vagrant plugin are usable only with a application cookbooks instead of pure site cookbooks ?


Chronological Thread 
  • From: Eduardo Dias < >
  • To:
  • Subject: [chef] Re: Is Berkshelf vagrant plugin are usable only with a application cookbooks instead of pure site cookbooks ?
  • Date: Wed, 30 Oct 2013 10:47:55 -0200

Vladimir,

we use Vagrant + Virtual Box + Berkshelf in the developers machines (windows7 & Ubuntu) to test the cookbook before commit it in the repository. My Linux Ubuntu 12.04 I used the configuration below:

Install RVM:
For a Multi-User install you would execute the following:
curl --proxy http://web-proxy.corp.hp.com:8080 -L https://get.rvm.io | sudo bash -s stable

Reload your profile:
source /etc/profile or source ~/.profile

Install and select the appropriated Ruby version:
rvm install 1.9.3
rvm use 1.9.3 --default

Install required gems:
gem install berkshelf
gem install chef
gem install minitest-chef-handler
gem install rest-client

Install Vagrant:
sudo dpkg -i vagrant_1.2.2_x86_64.deb

Configure Vagrant plugins:
vagrant plugin install vagrant-berkshelf
vagrant plugin install rest-client
vagrant plugin install vagrant-proxyconf (only if you need a proxy)

Install VirtualBox:
sudo apt-get install virtualbox

Create a file named config.json in ~/.berkshelf:
{
  "ssl": {
    "verify": false
  }
}

Good Lucky.

Eduardo



2013/10/30 Vladimir Skubriev < " target="_blank"> >
Now I suppose to use Berks and reading documentation at off site.

Most important information on off site wiki is to use vagrant berks plugin.

I was never used vagrant, but I want to use recently (near future).


Is Berkshelf vagrant plugin are usable with a application cookbooks instead of pure site cookbooks (Is I'am right)?

I cannot undertsand how they are related ?

Vagrant do a provision, Berks do a manipulation with cookbooks, download it from anywhere and puts in configured directory.

What else it does ?


--
Best regards,

CVision Lab System Administrator
Vladmir Skubriev




--

Atenciosamente,

Eduardo



Archive powered by MHonArc 2.6.16.

§