- From: Andrea Campi <
>
- To:
- Cc:
- Subject: [chef-dev] Re: Re: Re: Setting node attributes with a knife plugin
- Date: Wed, 25 Jan 2012 11:57:50 +0100
On Wed, Jan 25, 2012 at 10:56 AM,
<
">
> wrote:
Hey,
thank you very much, this helped a lot.
The line
*parts, last = @attributes.split('.')
doesn't work with ruby1.8, so I did it this way (to remain backwards
compatible):
Yeah, I had a feeling that might be an issue… For backward compat, I would go with:
parts = @attribute.split('.') last = parts.pop
Andrea
Archive powered by MHonArc 2.6.16.