Questions tagged [chefdk]

Chef Development Kit (ChefDK) brings some essential tools for developing and testing Chef cookbooks.

Official page and resources: http://www.getchef.com/downloads/chef-dk/

GitHub page: https://github.com/opscode/chef-dk

52 questions
0
votes
0 answers

Chefdk 0.10.0 not passing ssh-key when bootstrapping

Im using chefkdk 0.10.0 and trying to bootstrap some rhel nodes with my ssh-key..which ive copied to all of the servers and verified i can ssh without it asking for a password. However, when i use chefdk to bootstrap the node it still asks me for…
0
votes
1 answer

Knife command works from one particular directory but not from others. why?

I have created an organization called "kaushikinc" on chef server and have a directory structure "C:/x/y/z/kaushikinc". When I execute a command from kaushikinc folder, they work fine but when I execute from a parent or child folder, they dont…
kaushikv
  • 135
  • 1
  • 12
0
votes
0 answers

Adding subcommands to knife, how can ChefDK use them in a recipe?

Extending a knife plugin because a particular service has some predefined and optimized database servers with an API to spin them up, add users, etc. and I started wondering: If I do add more subcommands to the knife such as 'database instance…
Arlen
  • 287
  • 4
  • 7
0
votes
1 answer

Enabling SSL for berk upload in WINDOWS

Recently, I found I had a problem with berks upload and found a solution here provided by Tensibai, it was for a *nix system, and I am hoping for a command that would address someone using windows to develop with chefdk. Specifically, how to make…
0
votes
2 answers

berkshelf unable to connect on CentOS

I installed ChecfDK on the vagrant box. Brekshelf is not work well. Uable to connet Unable to connect I checked Iptables, etc, but could not find the problem on the network. URL is asccesable by curl, and work fine on ubuntu box. CentOS…
-1
votes
1 answer

Create multiple subfolders same time chef

Not sure how I would use the array to create multiple sub folders of the Sales folder in chef. sales = 'Sales' salesfolders = %w{'NewClients', 'MarketingMaterial', 'SalesTools', 'ClientInformation'} directory "#{directory}\\#{salesfolders}" …
Evan Haston
  • 85
  • 1
  • 6
-2
votes
2 answers

Chef kitchen ruby gems error fails to converge on windows

chef verify shows error that gems dependencies on this path error C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.3.0/rubygems/dependency.rb:310:in `to_specs': Could not find 'test-kitchen' (= 1.15.0) - did find: [test-kitchen-1.17.0]…
one
  • 11
  • 1
1 2 3
4