On 10/07/2014 03:21 PM, jcbollinger wrote:
> Can it be a Ruby version thing?
>
>
>
> Yes. Hash.each_pair() is new in Ruby 1.9.
Uhm, no :-) That would have been bad news for my master.
http://www.ruby-doc.org/core-1.8.7/Hash.html#method-i-each_pair
Also, Hash.each should be functionally e
On Monday, October 6, 2014 1:47:31 PM UTC-5, Ciro Iriarte wrote:
> Trying this approach I get "Detail: undefined method `each_pair' for
> #" using this code:
>
>
> <% if (@ospfconfig.is_a?(Hash)) and (@ospfconfig.count > 0) -%>
> <% @ospfconfig.sort.each do |instance,instparam| -%>
> protocol
El lunes, 6 de octubre de 2014 20:29:05 UTC-3, Henrik Lindberg escribió:
>
> On 2014-06-10 20:47, Ciro Iriarte wrote:
> >
> >
> > El lunes, 6 de octubre de 2014 10:52:05 UTC-3, jcbollinger escribió:
> >
> >
> >
> > On Sunday, October 5, 2014 5:55:55 PM UTC-5, Ciro Iriarte wrote:
> >
>
On 2014-06-10 20:47, Ciro Iriarte wrote:
El lunes, 6 de octubre de 2014 10:52:05 UTC-3, jcbollinger escribió:
On Sunday, October 5, 2014 5:55:55 PM UTC-5, Ciro Iriarte wrote:
Hi!, I'm starting to work with hiera and file templates, how
would be the best way to transform
El lunes, 6 de octubre de 2014 10:52:05 UTC-3, jcbollinger escribió:
>
>
>
> On Sunday, October 5, 2014 5:55:55 PM UTC-5, Ciro Iriarte wrote:
>>
>> Hi!, I'm starting to work with hiera and file templates, how would be the
>> best way to transform this hiera output:
>>
>> myanycast::bird::ospf:
>
On Sunday, October 5, 2014 5:55:55 PM UTC-5, Ciro Iriarte wrote:
>
> Hi!, I'm starting to work with hiera and file templates, how would be the
> best way to transform this hiera output:
>
> myanycast::bird::ospf:
> myinstance:
> tick: 2
> rfc1583compat: 'yes'
> export: 'all'
>