Answer by sekrett for Is there a more elegant way to remotely run chef-client?
There is a new command chef-run in Chef Workstation:chef-run server_name resource_nameIt will install chef-client if not present and run the resource or cookbook you specify.Tutorial:...
View ArticleAnswer by osexp2000 for Is there a more elegant way to remotely run chef-client?
It's a pity that to dispatch a command to chef client we have to use ssh underline.It seems that although every chef client has set up a secure connection with chef server, but chef server does not...
View ArticleAnswer by Greg Jones for Is there a more elegant way to remotely run...
You could use ansible to deploy and run chef-client. $ ansible -i hosts all -a 'chef-client'ansible is easily installed with pip:pip install ansibleYour inventory file (in the example, named "hosts")...
View ArticleAnswer by Anil Wavde for Is there a more elegant way to remotely run...
I use Jenkins CI to manage the runs. Linux server is set up as a workstation and has Jenkins installed on it. So I can bootstrap the nodes with modified run_list. The bootstrapping process, anyway,...
View ArticleAnswer by user157553 for Is there a more elegant way to remotely run...
You could use knife ssh to run chef-client on all boxes that contain a certain role or recipe:knife ssh "role:web""sudo chef-client" -x ubuntu --sudo Or if you're in EC2:knife ssh "role:web""sudo...
View ArticleAnswer by Tim Potter for Is there a more elegant way to remotely run...
That'd pretty much how you get things started to begin with, but it only needs to be done once. The initial run of chef-client typically enables and starts the chef-client daemon as an init.d...
View ArticleIs 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 better way,...
View Article
More Pages to Explore .....