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
1
vote
3 answers

Use Berkshelf with custom CA certificate

I have a custom Chef server on premises with a TLS certificate that is signed by our own CA server. I added the CA certificate to .chef/trusted_certs and now knife ssl verify works fine. But when I try to upload cookbooks using Berksfile I run into…
Christoffer Reijer
  • 1,925
  • 2
  • 21
  • 40
1
vote
1 answer

How to resolve a mixlib-shellout gem version conflict?

I am trying use to Kitchen/Chef to deploy. I am actually not sure if I've touched Kitchen yet. My understanding is gem list lists all the gems in the repository, and a project fetches any gems it wants from this repository. After I ran gem install…
post2626
  • 239
  • 1
  • 6
  • 16
1
vote
2 answers

OpsWorks: Cookbook httpd not found on recipe run

I've just started working with Chef and OpsWorks on AWS in an effort to improve our infrastructure. I'm running into some problems when attempting to run a recipe that I've set up to do (I think) some pretty basic things (setting up httpd and…
MattieTK
  • 501
  • 6
  • 15
1
vote
1 answer

Berkshelf having issues uploading cookbooks to Chef-Server

I'm trying to use Berkshelf to upload a cookbook with a few dependencies to my Chef-Server. When I use chef exec berks upload I am presented with a bunch of different errors. My current setup is using the latest, or close to, ChefDK versions using a…
FilBot3
  • 3,460
  • 6
  • 33
  • 55
1
vote
0 answers

chef node won't update cookbook

I'm trying to add a recipe to an existing cookbook (currently at version 0.14.1). I've created the file, incremented the cookbook version (0.15.0) and uploaded to my chef server. I've verified there are no environment constraints that would…
veilig
  • 5,085
  • 10
  • 48
  • 86
1
vote
1 answer

Berkshelf unable to resolve cookbook version from Git tag

I manage my Chef cookbooks with Berkshelf and struggle with the upload part in the Continuous Integration pipeline. Following some best practices found on the internet, I use thor-scmversionfor managing my cookbook versions. Therefore I added the…
1
vote
1 answer

chef cookbook delivery - chef server vs. artifactory + berkshelf

My company has been making a significant investment in Chef. We've built up a respectable library of cookbooks to automate our infrastructure. We've purposefully ignored Chef Server and the problem of cookbook sharing because we wanted to get some…
kellyb
  • 1,391
  • 1
  • 11
  • 18
1
vote
1 answer

Berkshelf vendoring of cookbook on private Bitbucket repository

I'm pulling my hair out trying to get Berkshelf to download a company cookbook from our private BitBucket (git) repository. This is on a Windows 8.1 host. I found this question and have attempted what was described in the answer. I also played…
phpPhil
  • 906
  • 1
  • 9
  • 28
1
vote
1 answer

Does berkshelf support multiple cookbooks? How?

I have two cooksbooks that I created in my Chef repo that I want to try to manage using Berkshelf. One cookbook is dependent on the other. Both are not in Chef Supermarket. I don't want to add them there just for dependency resolving. On on berks…
onknows
  • 6,151
  • 12
  • 65
  • 109
1
vote
2 answers

How to migrate cookbook management to berkshelf

I kinda fell into chef and now I have a few nodes running and would like to clean up how I manage my cookbooks and dependencies. Historically, I would often search the chef supermarket to find a cookbook that suited my needs and use knife to install…
veilig
  • 5,085
  • 10
  • 48
  • 86
1
vote
1 answer

Chef point to local recipe dependency

I have 2 cookbooks, A and and B, where A includes recipe B. Normally, recipes are pulled from the chef server, however, I want to make a change to cookbook B, and ensure that change does not break recipe A before pushing the changes to cookbook B to…
Brent Hronik
  • 2,357
  • 1
  • 27
  • 43
1
vote
1 answer

Using a feature branch with Berkshelf

I'm trying to use a feature branch to test some functionality in a current cookbook I am working on. Normally I would point to the master branch like so: cookbook 'elasticsearch', github: 'account-name/cookbook-elasticsearch' Is there any way to…
switchflip
  • 403
  • 1
  • 5
  • 13
1
vote
1 answer

Cookbook not found after Yum Update

I am trying to use an Opsworks formatted cookbook repository with Vagrant and Berkshelf locally for testing and local VMs using this…
Beardee
  • 61
  • 5
1
vote
1 answer

How can I tell if berkshelf is connecting to my chef server

I am attempting to use berkshelf with chef to provision a Vagrant machine. This is running on Windows 7. I installed Berkshelf as part of the Chef-DK. It reports version 3.2.3. My vagrant provisioning was failing because it cannot find some…
rhuffstedtler
  • 488
  • 1
  • 5
  • 17
1
vote
1 answer

Chef: Should I deploy a multi-node application using the environment cookbook pattern?

Following the environment cookbook pattern (specifically using an app.rb recipe for deployment), if I have an application consisting of a front-end client, a back-end API, and some services, (each different Visual Studio projects & potentially…
JoelWilson
  • 404
  • 3
  • 13