The list returned is immutable. To update the run list you need to
create a copy of the returned list, add there the elements you want,
and use that list to update the node.
HTH
Ignasi
On 21 May 2013 16:39, Rahul Nema rahuln...@in.ibm.com wrote:
Hi,
So it seems when I do this ListString
Thx it works now but i feel we should provide a utility to update the run
list directly will be a very much needed usecase.
If you're interested in contributing such a change, that would be
great! Please see the Contributor Guidelines [1] for more information.
ap
[1]
I'm not sure about that utility. Immutability is something widely used
in jclouds-chef. Runlists are immutable, Nodes are immutable, and in
general all domain objects are immutable (immutability has its
benefits :D). Why an utility to update just the runlist? I think that
it is enough to know that
@jclouds.incubator.apache.org
Subject: Re: Issues with Updating Runlist for a Node
I'm not sure about that utility. Immutability is something widely used
in jclouds-chef. Runlists are immutable, Nodes are immutable, and in
general all domain objects are immutable (immutability has its
benefits :D). Why