The chef-client tag has no wiki summary.
0
votes
0answers
26 views
knife bootstrap windows winrm/ssh timeout
I am trying to bootstrap windows server with chef-client. I am able to manually go in and install the Chef omnibus installer. Then I successfully installed the rubygem knife-windows for chef-client ...
0
votes
0answers
36 views
Chef Workflow and explanation [closed]
I am learning chef and one of the hard pain points i had while doing so was that the resources organized on chef wiki don't mention a proper flow in which a new comer should start with simplers things ...
0
votes
1answer
69 views
What is the most automated way to deploy a new server being managed by Chef?
We use knife-vsphere to deploy and configure new chef-managed servers in our virtual environments, but don't have any one-step solution for physical servers. Currently the process involves imaging a ...
0
votes
1answer
45 views
Chef how to run a run list in filtered node
How to run a run list in several nodes?
Now I wrote a script loop those severs and run using knife bootstrap.
Is there better way to do it?
Like how we use "knife ssh 'id:*', can we run a run list in ...
0
votes
1answer
78 views
Pass override attribute via command line for chef-solo
For chef-solo, is it possible to pass the override attributes via command line?
Because sometimes the attribute is just adhoc decision and is diffent from host to host, e.g. hostname, we don't want ...
1
vote
2answers
98 views
Prevent chef recipe from executing previously executed action?
I have a simple recipe like the following, and currently I am using a local file to indicate if the command has been run or not
execute "test" do
command "sh test.sh && touch ...
0
votes
0answers
43 views
Storing extra data in .json role/environment files for external (i.e. non-Chef) applications
I’m thinking about converting my roles to JSON syntax and storing some extra data in there for an external, non-chef application (specifically Vagrant). My idea is that if I stick to a convention in ...
3
votes
0answers
62 views
How to monitor and log Chef server and Chef client response time and network trafiic?
I am very new to Chef Server and Chef Chef client. Also, new to Ruby in which Chef was written.
I have a problem monitoring the performance of chef server's response time when Chef client is running ...
-1
votes
1answer
141 views
How do I remove a package with Chef? [closed]
I am trying to remove packages using a chef.
i.e. remove java 1.6 and install java 1.4
1
vote
1answer
116 views
Opscode Chef nginx compile from source issue reports successful run but does nothing
I am trying to install nginx from source in Opscode Chef and its bit weird, it runs complaining nothing but does not install it either.
This is how my role attributes look like looks like
"nginx":{
...
2
votes
2answers
54 views
Chef-client kills processes
I use the knife ec2 plugin to bootstrap a new instance (Ubuntu 12.04) and install a software on it. Everything works great but after chef-client ends, some processes of the new software are killed. ...
0
votes
1answer
196 views
How to pass attributes from knife command (ssh)?
Is it possible to attributes from knife command (ssh),
e.g.
knife ssh ‘role:server’ ‘sudo chef-client’ <-- how to pass attributes to remote?
2
votes
1answer
71 views
Two chef nodes (two environments) on one machine
We are resource limited here, and want our qa and staging environments on one machine.
We are going to run separate binaries and confs for our app & supporting services.
According to chef docs ...
0
votes
0answers
254 views
Variable / Attribute scope within Chef recipes and execution order
I'm trying to get the rvm_passeneger recipe to work, I seem to having problems with the order of execution and variable/attribute scope.
...
2
votes
0answers
205 views
omnibus installed chef and rvm issues
I'm trying to figure out one thing and would like someone's else view on this.
I installed chef on my Ubuntu server (11.10) via the awesome omnibus install. It worked perfectly fine. I was able to run ...
6
votes
2answers
2k views
Is there a more elegant way to remotely run chef-client?
This is the way recommended in the Chef Fast Start tutorial:
knife ssh name:mynode -a ipaddress -x ubuntu -i mycredentials.pem "sudo chef-client"
This is really clumsy. Is there really not a ...
0
votes
1answer
471 views
Trouble setting up chef-client on a vagrant
I've been using opscode chef for remote configuration and I wanted to test my chef scripts locally, so I started working on setting up a vagrant box. But, I can't seem to get my vagrant boxes to ...
1
vote
2answers
644 views
Net::SSH::AuthenticationFailed when using Chef's Knife ssh
Facts:
I have a Chef server installed.
I have registered a node to this server, and I can see the node in the webUI (This is an existing node, NOT bootstrapped using knife bootstrap
When I execute ...
0
votes
2answers
119 views
chef and software packages with long running builds
I'm experimenting with chef and moving my server configuration over to it. One hurdle I'm encountering is how to deal with packages that must be compiled and installed manually (configure, make, make ...
3
votes
3answers
1k views
Deploy an AWS Auto Scaling groups using Chef Server
You can, for example, to deploy an an Auto Scaling groups consists of web severs, ELB and DB using AWS CloudFormation (with Chef server):
...
1
vote
1answer
340 views
chef-client “can not find config file”
I have a handful of servers who have not checked into the (in-house open-source) chef server in some time. When running chef-client as root, I get the message
WARN: Can not find config file: ...