On Jan 23, 1:32 pm, Felix Frank <felix.fr...@alumni.tu-berlin.de>
wrote:
> Absolutely beats me.
>
> Is this a verbatim paste from your template?
> Are you certain that the template is the source of the error?
> Does it say anything beyond "syntax error"?
>
> Just pasting puppet output would be ideal.
>

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
       ^        from /usr/lib/ruby/1.8/erb.rb:741:in `value'
        from /usr/lib/ruby/1.8/erb.rb:741:in `result'
        from /usr/lib/ruby/site_ruby/1.8/puppet/parser/
templatewrapper.rb:106:in `result'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:185:in
`benchmark'
        from /usr/lib/ruby/site_ruby/1.8/puppet/parser/
templatewrapper.rb:103:in `result'
        from /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/
template.rb:18:in `function_template'
        from /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/
template.rb:10:in `collect'
        from /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/
template.rb:10:in `function_template'
         ... 62 levels...
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:401:in
`exit_on_fail'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in
`run'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:
69:in `execute'
        from /usr/bin/puppet:4
#

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

Reply via email to