You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Friedrich Clausen <ft...@gmail.com> on 2013/06/03 14:20:10 UTC

Chef - Update node run list.

Hello All,

I would like to start with a simple utility to change the run list of a
particular node - primarily specify which role it is using. This is for a
community Chef server populating the runlist for an internal node (not
hosted at a cloud provider).

I have found the Chef basics [1] example on Github but that has an example
of calling the "updateRunListForGroup" method (line 202). This leads me to
two questions

a) Can I just update the run list for a particular node?
b) What is this "group" it is referring to?

Many thanks in advance for any assistance. The jclouds.org site is
currently unresolvable due to migration to Apache incubator so I have not
been able to search the docs.

Regards,

Fred.


[1] Chef Basics -
https://github.com/jclouds/jclouds-examples/blob/master/chef-basics/src/main/java/org/jclouds/examples/chef/basics/MainApp.java

Re: Chef - Update node run list.

Posted by Andrew Phillips <an...@apache.org>.
> That did indeed do the trick - I was able to update a node's run list using
> the above examples.

Good to hear!

ap

Re: Chef - Update node run list.

Posted by Friedrich Clausen <ft...@gmail.com>.
On 3 June 2013 14:42, Andrew Phillips <an...@apache.org> wrote:

> Hi Fred
>
> Just off the top of my head...wondering if this thread helps in any way?
>
> http://apache.markmail.org/**message/lqh6viq6lg4o75yx?q=**
> jclouds+chef+runlist<http://apache.markmail.org/message/lqh6viq6lg4o75yx?q=jclouds+chef+runlist>


That did indeed do the trick - I was able to update a node's run list using
the above examples.

Thanks for the advice,

Fred.

Re: Chef - Update node run list.

Posted by Andrew Phillips <an...@apache.org>.
Hi Fred

Just off the top of my head...wondering if this thread helps in any way?

http://apache.markmail.org/message/lqh6viq6lg4o75yx?q=jclouds+chef+runlist

Regards

ap