Bug #1112

gentoo puppet.conf has extra whitespace breaking puppet's config parser

Added by Tais Hansen about 4 years ago. Updated about 4 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:Luke Kanies % 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

0005-Removed-whitespace-at-the-end-of-all-lines-in-puppet.patch (2.6 kB) Tais Hansen, 03/04/2008 06:06 pm

History

Updated by James Turnbull about 4 years ago

Applied in commit commit:4c47656a5f78ff3b13413e5d51948f3f3f36b60d in branch 0.24.x

Updated by Luke Kanies about 4 years ago

  • Status changed from 1 to Closed
  • 7 set to fixed

Pushed.

Also available in: Atom PDF