berkshelf

Berkshelf cookbooks are not being copied to the Vagrant directory

允我心安 提交于 2019-12-05 01:09:55
问题 I am trying to provision a Vagrant machine using Chef-solo, Berkshelf, and the vagrant-berkshelf plugin. However, the provisioning fails with this error: Berkshelf::CookbookNotFound: Cookbook <cookbook name> not found in any of the default locations berks install successfully installs everything to ~/.berkshelf/cookbooks/ , but the cookbooks are never copied over to ~./berkshelf/default/vagrant/berkshelf-20131017-8441-pqghfq-default which is where Berkshelf reports it is updating, right

Why can't chef resolve my cookbooks?

百般思念 提交于 2019-12-04 23:03:16
Intro I am learning Chef to automate the server management at work. I downloaded chefdk 3.0 from here and now I am trying to build my first cookbook using chef. Important I am using this in a Windows environment for testing purpose, I do expect it to fail since Windows does not have iptables, but I do not expect it to fail saying that it can't find the cookbook. I've tried using Windows cookbook and it works. The problem I am able to create the cookbook and run it, but I am not able to reference dependencies from supermarket. I have tried two alternatives: Alternative 1 I used the following

Provision developer environment with chef server and vagrant without registering node

眉间皱痕 提交于 2019-12-03 07:54:49
问题 I wish to create a developer environment of a web based application which will have an application server and database server installed on a VM using vagrant. I am using open source chef server and vagrant with chef_client provisioner. However each time a developer node is provisioned, chef_client provisioner creates a client node on chef server. This is not desirable because this setup will be used by a lot of developers. Such nodes might get created and destroyed several times. So

Resolve recursive git cookbook dependencies with Berkshelf

送分小仙女□ 提交于 2019-12-01 03:04:19
问题 tl;dr version: Is Berkshelf able to resolve recursive dependencies within Git-based cookbooks and if yes - how? I try to manage my Chef cookbook dependencies with Berkshelf. The cookbooks are all stored in internal Git repositories. The dependencies are as follows: env_dockerhub_dev >>depends on>> app_dockerhub >>depends on>> app_docker The main Berksfile in my project looks like this: source "https://supermarket.chef.io" cookbook "env_dockerhub_dev", git: "git@URL_TO_GIT_SERVER/chef_env

Chef BERKSHELF3 proxy settings - Windows platform

青春壹個敷衍的年華 提交于 2019-11-29 08:57:52
I just wanna know how to set proxy values(Url, user, password) for Berkshelf3 under windows platform when I launch the command >berks intall ? I already try in cmd command: http_proxy=' http://xx.xx.xx.xx ' http_proxy_user=USERNAME http_proxy_pass=PASSWORD The reamining issue: C:\chef-repo-distant\cookbooks\putty>berks install Resolving cookbook dependencies... Fetching 'putty' from source at . Fetching cookbook index from ttps://supermarket.getchef.com... C:/opscode/chefdk/embedded/lib/ruby/2.0.0/net/http.rb:918:in connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B

I have installed chef-dk and started using berkshelf but berks upload failed

纵饮孤独 提交于 2019-11-29 07:29:21
I have installed chef client 12.0.3 , on top of it I have install chef-dk version 0.3.5 but why chef-dk is installing chef client version Chef: 11.18.0.rc.1 Unable to Upload cookbooks to chef server berks shelf list is working but berks upload failed Error: E, [2015-01-08T04:58:36.707534 #22533] ERROR -- : Ridley::Errors::ClientError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed E, [2015-01-08T04:58:36.708931 #22533] ERROR -- : /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/celluloid-0.16.0/lib/celluloid/responses.rb:29:in `value' /opt/chefdk

Chef BERKSHELF3 proxy settings - Windows platform

我怕爱的太早我们不能终老 提交于 2019-11-28 02:19:28
问题 I just wanna know how to set proxy values(Url, user, password) for Berkshelf3 under windows platform when I launch the command >berks intall ? I already try in cmd command: http_proxy='http://xx.xx.xx.xx' http_proxy_user=USERNAME http_proxy_pass=PASSWORD The reamining issue: C:\chef-repo-distant\cookbooks\putty>berks install Resolving cookbook dependencies... Fetching 'putty' from source at . Fetching cookbook index from ttps://supermarket.getchef.com... C:/opscode/chefdk/embedded/lib/ruby/2