Is your issue resolved? It looks like you don't have the correct erb syntax in your loop
*<%=* scope.lookupvar('resolver::params::resolvers').split(/\s+/).each I think should be *<%* scope.lookupvar('resolver::params::resolvers').split(/\s+/).each On Mon, Jan 23, 2012 at 4:00 PM, ollies...@googlemail.com < paul.seym...@barcap.com> wrote: > > > On Jan 23, 4:32 pm, Felix Frank <felix.fr...@alumni.tu-berlin.de> > wrote: > > On 01/23/2012 02:48 PM, ollies...@googlemail.com wrote: > > > > > host: parse of /etc/resolv.conf failed > > > ./resolver/templates/resolv.conf.erb:7:in `result': compile error > > > (SyntaxError) > > > ./resolver/templates/resolv.conf.erb:4: syntax error > > > _erbout.concat(( scope.lookupvar('resolver::params::resolvers').split(/ > > > \s+/).each do | ns | ).to_s); _erbout.concat "\n" > > > > > ^ > > > ./resolver/templates/resolv.conf.erb:7: syntax error > > > _erbout > > > > Uhuh. Just a wild guess, but: *Does* your template end in a newline > > character? > > If not, add one. If in doubt, loose the '-%>' and substitute '%>' > instead. > > > > HTH, > > Felix > > Looks about right to me. > > Thanks for the continued help. > > Cheers > Paul > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.