Bug #1112
gentoo puppet.conf has extra whitespace breaking puppet's config parser
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | - | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
Puppet fails starting with the following error using the puppet.conf file provided for gentoo due to extra whitespace at the end of each line. (parse_file may want to strip lines before parsing also though)
debug: Parsing /etc/puppet/puppet.conf /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:963:in @parse_file': Could not match line [main] at /etc/puppet/puppet.conf:[main] (Puppet::Error)
from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:926:in @each'
from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:926:in @parse_file'
from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:296:in @parse'
from /usr/lib/ruby/site_ruby/1.8/puppet.rb:220:in @parse_config'
from /usr/bin/puppetd:266
History
Updated by James Turnbull about 4 years ago
Applied in commit commit:4c47656a5f78ff3b13413e5d51948f3f3f36b60d in branch 0.24.x