| popularity | question | answers | views | user | |
|---|---|---|---|---|---|
| 1 |
knife command not working
hi , Knife command throwing error below . /usr/bin/knife:22:in `require': no such file to load — chef/application/knife (LoadError)
How to solve this ? |
0 | 83 | ||
| 1 |
Unit Test framework for the cookbook/recipe/roles
Hi, Thanks in advance . Regards, Nagaraju B |
0 | 444 | ||
| 1 |
apt recipe is not being run. Can't install postgresql recipe
I’m trying to install the postgresql recipe on ubuntu 11.04 running on vagrant. the postgresql recipe installation fails because packages are not up to date. I add the apt recipe to my role but it’s not being run. Output can be seen here: link text Any ideas on what I have to do in order to get it to run? |
0 | 294 | ||
| 1 |
chef-client Windows service
I feel like I’m missing something….but, I’m not seeing a “Windows Service” wrapper for chef-client anywhere… Does this exist? How else can we force chef-client to check-in periodically on Windows? |
1 | 808 | ||
| 1 |
Bootstrapping
Hi Can anyone help? Thanks |
2 | 122 | ||
| 1 |
Chef sever on Debian
I see there is no Chef 11 server package for Debian. Is there any plan to provide on in the future? I can always try the Ubuntu debs, but I assume that isn’t supported. Edit: I went ahead and used the Ubuntu 11.04 deb. Turns out 12.04 uses a newer version of glibc than Debian 7, so that one won’t work. |
0 | 49 | ||
| 1 |
Chef errors out with 403 when running cookbook_file resource
Last night I found that a Chef run failed because Hosted Chef responded with a 403 when Chef was attempting to run a cookbook_file resource. Here’s the stack trace:
This happened on two nodes. Today, executing a Chef run on the same nodes with no changes to cookbooks does not produce that error. What gives? |
1 | 288 | ||
| 1 |
Knife ssh not work when a node is not bootstrapped
I have a node which is registered to chef server when its first time run the chef-client, so I can see the node in the web interface. But I can’t run knife ssh to it, return error “Net::SSH::AuthenticationFailed” So, in this case, what is the best way to copy the ssh key? |
1 | 509 | ||
| 1 |
Mount a network drive to windows using Chef-solo
I need to mount a network drive on a windows vm. I am currently using chef solo to automate the process. This is what I have in my recipe file:
This does not work and I get the following error messages:
I can manually map the drive on the windows vm, but then I need to provide a domain-name-qualified user name and password. Is there a way I can provide the domain name, user name, password to the mount resource? is there an alternate way to mount the drive using chef? I also tried the following command (as suggested in http://docs.opscode.com/ctl_chef_client.html)
After I entered password, a window appears and then dissapears. So I don’t exactly know what is happenning in it. I am an absolute new by to chef, so a detailed answer would be very much appreciated. Thanks. |
2 | 78 | ||
| 1 |
IIS Cookbook on Windows 2008 R2 server
Hi, I have recently tried to use the IIS cookbook (link text) on a new Windows 2008 R2 install. I have Chef-client installed and setup, I have the PEM’s in place, and the listed cookbook dependencies are available on my Chef server. I add the getting-started recipe and the iis recipe to the run list of the node, and then on the node I ran the chef-client. The first run, the getting started recipe did what it needed and worked fine, then I got an error about rubyzip not being installed and it failed. I thought that is an easy fix, so i ran “gem install rubyzip” manually and that succeeded. I then ran the chef-client again, and i get the following error:
I gather that from the error message, i am missing the webpi application, however, I have the webpi Cookbook. I was under the impression that I would be able to run chef-client and it would install all the required parts of the IIS as long as I had the cookbooks for it. Am I under the wrong impression, and I actually need to install some supporting applications first, or is this some other error because I am missing a cookbook or some other configuration? Thanks Allan |
1 | 382 |
