Questions tagged [berkshelf]

Manage a Cookbook or an Application's Cookbook dependencies

Berkshelf can either mean the Berkshelf toolchain, or the directory location ("the Berkshelf") where you do the management. This location will typically contain files called Berksfile and Berksfile.lock.

218 questions
5
votes
1 answer

vagrant up error when creating client? chef-stacktrace: OpenSSL::PKey::RSAError: private key needed

I'm currently using Vagrant with Chef-solo and it's been working great. I would like to extend the vagrant magic to the chef server. I've switched my provisioner in the Vagrantfile from chef-solo to chef-client and have added the necessary…
Ryan B.
  • 353
  • 4
  • 13
5
votes
2 answers

How to use Berkshelf to manage Organization repo?

I'm a huge fan of Berkshelf and I've released few community cookbooks using it and its awesome. Now, I'm starting a new chef project and I went ahead with Berkshelf for this too. But I'm finding some confusions/difficulties using it for the…
millisami
  • 9,931
  • 15
  • 70
  • 112
4
votes
1 answer

How to properly configure berks to avoid certificate issues?

I'm using chefDK with the following versions: Chef Development Kit Version: 0.17.17 chef-client version: 12.13.37 delivery version: master (f68e5c5804cd7d8a76c69b926fbb261e1070751b) berks version: 4.3.5 kitchen version: 1.11.1 Chef connection to…
Mikyjpeg
  • 1,179
  • 1
  • 13
  • 39
4
votes
2 answers

gem install berkshelf fails with Failed to build gecode library in Centos 6

gem install berkshelf fails with Failed to build gecode library in Centos 6. It fails with the following output. # /opt/chef/embedded/bin/gem install berkshelf Building native extensions. This could take a while... ERROR: Error installing…
f01
  • 1,738
  • 1
  • 18
  • 21
4
votes
1 answer

Chef believes dependencies not met

I have a Chef custom recipe that uses the Opscode 'database' cookbook. I'm using Chef 11.10 and Berkshelf 3.1.3 in an Opsworks stack and have specified the 'database' cookbook in the Berksfile. It pulls down the dependencies correctly and I can see…
andyr0ck
  • 65
  • 2
  • 6
4
votes
2 answers

Vagrant: Unknown configuration section 'omnibus' but vagrant-omnibus plugin is installed

I've followed the instructions at: http://berkshelf.com/ after installing the latest ChefDK (from here: http://downloads.getchef.com/chef-dk/mac/#/). When I do "vagrant up", I get the error: Vagrant: * Unknown configuration section…
eswenson
  • 745
  • 1
  • 9
  • 25
4
votes
2 answers

Git-bash (Cygwin) and vagrant-berkshelf

I’m having an issue when using git-bash to run vagrant commands. For example if I run vagrant status I will receive the error message “Failed to load the "vagrant-berkshelf" plugin.” If I run the same command from a normal windows command line it…
4
votes
3 answers

switching ruby with rvm breaks chef 11.4.4 knife command

I have chef 11.4.4 which has ruby 1.9.1 installed. I want to install berkshelf but it requires ruby 1.9.2 or later. I installed ruby 2.0.0-p247 (latest stable) with rvm. When i run a knife command I get ... # knife help…
Ryan B.
  • 353
  • 4
  • 13
4
votes
1 answer

How can I get chef to reboot the node, and pick up the recipe from where it left off?

I'm trying to set up an asterisk server with chef using Berkshelf and Vagrant, and I'd first like to upgrade the kernel by running apt-get upgrade , and rebooting my machine. How can I trigger a reboot in the recipe, and have it pick up after the…
noli
  • 15,927
  • 8
  • 46
  • 62
3
votes
0 answers

Berks install fails while waiting for connection to supermaket - windows 7

When I do a berks install I am getting the error Error retrieving universe from source: https://supermarket.chef.io/ * [Berkshelf::APIClient::TimeoutError] Unable to connect to: https://supermarket.chef.io/ Unable to satisfy the following…
codec
  • 7,978
  • 26
  • 71
  • 127
3
votes
2 answers

Berks install SSL_Connect Certification Verify failed (Faraday:SSLError)

As part of a cookbook(newbie) i am trying to write, i was using berks to install the dependencies from other cookbooks and eventually when i am running berks install, i am encountering certificate verification errors. Can any one help me to know…
bablu
  • 75
  • 4
  • 11
3
votes
1 answer

How do I override octopus-deploy's supermarket chef cookbook's tentacle_install_location path?

My current setup: I am creating a cookbook to install Octopus Deploy tentacles onto standard VMs at my company. I have created a new local cookbook called "octopus-deploy-mk6". "mk6" is our company's name and I'm using this recipe to define my…
3
votes
1 answer

How do I configure a berks API server?

I want to implement the Berks API in my infrastructure, comprise of Jenkins, a Git server, and a Chef 12 Enterprise server. Each cookbook is in it's own repo in the Git server, per the Berkshelf way. Basically, I just want my top level Berksfile to…
Chris F
  • 14,337
  • 30
  • 94
  • 192
3
votes
1 answer

Berkshelf does not download dependencies for cookbook in git

I have three cookbooks 'A', 'B' and 'C'. Each cookbooks lives in it's own repo. Cookbook 'B' depends on 'A' and I have entry for cookbook 'A' Berksfile, with source set to repo url Cookbook 'C' depends on 'B' and I have entry for cookbook 'B'…
Pushkar
  • 541
  • 4
  • 18
3
votes
1 answer

Unable to provision RabbitMQ on Fedora/VirtualBox using Vagrant and Chef Solo. ERR: "erlang >= R13B-03 is needed by rabbitmq-server-3.4.3.1.noarch"

I'm trying to provision RabbitMQ (latest) onto a Fedora 20 base box (VirtualBox provider). My recipe looks like this : config.vm.provision "chef_solo" do |chef| ... chef.add_recipe "rabbitmq" chef.add_recipe "rabbitmq::mgmt_console" …
hans0l074
  • 73
  • 6
1
2
3
14 15