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

Feature #3119

puppet config file syntax errors

Added by Lucas Suggs almost 5 years ago. Updated almost 2 years ago.

Status:AcceptedStart date:01/27/2010
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:error reporting
Target version:-
Affected Puppet version:0.25.3 Branch:
Keywords:

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

Currently when puppet.conf has a syntax error (e.g. missing an = sign), it does not state that there is an error with the config file, it simply uses a default built-in config and it usually breaks (and causes a lot of head scratching and confusion). Can there please be a “Your config file has an error on line: blah” printed out when the config is wrong? I’m sure this would help save a lot of confusion.

Thanks, Lucas

History

#1 Updated by James Turnbull almost 5 years ago

  • Category set to error reporting
  • Status changed from Unreviewed to Accepted
  • Target version set to 2.7.x

#2 Updated by Krzysztof Wilczynski over 4 years ago

  • Assignee set to Krzysztof Wilczynski

#3 Updated by Krzysztof Wilczynski over 4 years ago

  • Assignee deleted (Krzysztof Wilczynski)

#4 Updated by David Schmitt over 4 years ago

Another bad error are spaces or dashes in environment names:

[wrong-environment]

or

[environmenterror ]

#5 Updated by Andrew Parker almost 2 years ago

  • Target version deleted (2.7.x)

Also available in: Atom PDF