The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #15303

Ruby DSL parse errors should give location information

Added by Hunter Haugen almost 2 years ago. Updated over 1 year ago.

Status:InvestigatingStart date:06/29/2012
Priority:NormalDue date:
Assignee:Deepak Giridharagopal% Done:

0%

Category:-
Target version:-
Affected Puppet version: Branch:
Keywords:ruby dsl

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the PUP project on JIRA using the button below:


Description

When using a ruby dsl manifest, if there are ruby syntax errors then I get this error output from puppet:

err: Could not retrieve catalog from remote server: Error 400 on SERVER: (eval):15:in `parse_ruby_file': compile error
(eval):15: syntax error, unexpected $end, expecting kEND

The line number is correct, but it doesn’t say which manifest it is from.


Related issues

Related to Puppet - Feature #16937: Improved Ruby DSL Closed 10/11/2012

History

#1 Updated by eric sorenson over 1 year ago

  • Assignee set to Deepak Giridharagopal

#2 Updated by eric sorenson over 1 year ago

  • Status changed from Unreviewed to Investigating

Also available in: Atom PDF