Feature #3119
puppet config file syntax errors
| Status: | Accepted | Start date: | 01/27/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | error reporting | |||
| Target version: | 2.7.x | |||
| Affected Puppet version: | 0.25.3 | Branch: | ||
| Keywords: | ||||
| Votes: | 2 |
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
Updated by James Turnbull over 2 years ago
- Category set to error reporting
- Status changed from Unreviewed to Accepted
- Target version set to 2.7.x
Updated by Krzysztof Wilczynski about 2 years ago
- Assignee set to Krzysztof Wilczynski
Updated by Krzysztof Wilczynski almost 2 years ago
- Assignee deleted (
Krzysztof Wilczynski)
Updated by David Schmitt almost 2 years ago
Another bad error are spaces or dashes in environment names:
[wrong-environment]
or
[environmenterror ]