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 -- 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.