- From: Tim Diggins <
>
- To:
- Subject: [chef] Re: WEBUi - Force chef-client action
- Date: Fri, 18 Mar 2011 10:07:50 +0000
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=deJVh9zo4I0vgQmVgVbYUM87aWbwFR0Lln/ovD9C+9lTmySDwO36yWMYm4W4F+YGuW 9jYxKNGZwHjvfK4VNt7jaelUOCMAr8YJtbDb4MxSOCcQIf/FsP1zKCopQZTPdf46MWDc lwp4bwtMaeQfiuIlB8ZNe7C6HPBD4hNuK8cz0=
The platform (AFAIK) doesn't take any action - it is really a datastore, chef-client must be run from the machine.
So you either (or both) setup a cron on each machine (as part of your chef config) to run "chef-client" periodically, and/or you use the wonderful tool "knife" to run chef-client on many machines:
knife ssh "role:some-role-or-other" "chef-client"
that will run "chef-client" on every machine that has the role "some-role-or-other" in their run list.
Many other possibilities:
(note that the platform can provide you with a knife.rb configuration file but knife itself is a command-line tool installed with chef).
all the best
Tim
On Fri, Mar 18, 2011 at 9:56 AM, WEINHAPL Andreas
<
">
> wrote:
HI,
I saw the Opscode platform that it’s possible to mouse over the tab “run list” at the point “Status” and see the complete run list of this node. But if I’m installing the server on my own, I didn’t get this feature. I can click on it and nothing happened or mouse over. For what is this button?! I thought, that you are able to push a new run list to a node but this is only an idea and I can’t do it L Soo my question is, is there a way to force an chef-client via the WEBUI?! It will be very nice, because if you have a necessary task and you have to do it now, you can’t login to every server and enter the command “chef-client” .
Can anybody help me with this question?!
Regards Andreas
Archive powered by MHonArc 2.6.16.