[Puppet Users] Re: ENC Puppet DSL with inline_template

2012-06-10 Thread eduardo
Hi, first of all thanks to Jan-Piet for share it. My mistake was around shape an inline_template parameter, everything is ok just deleting linefeeds and spaces characters in it, like this : - $res = inline_template( "<% users.each do |usr| -%><% usr.each do |k,v| -%><%

[Puppet Users] Re: ENC Puppet DSL with inline_template

2012-06-09 Thread eduardo
errata for 2) , It should be Putting function split in a head of class having unique sense to check for structure is tell me that parameter is an array not expected hash variable. Why ? sorry On 9 jun, 09:48, eduardo wrote: >   Dear all, > >   I'm trying to do mass update ssh-accounts by ENC