Issue #16672 has been updated by Forrest Aldrich.

Here are the error messages that the above will generage:

    Oct  1 16:55:46 central puppet-agent[26980]: Could not autoload 
puppet/indirector/certificate/rest: Invalid duration format '"900 # 15 mins"' 
for parameter: runinterval
    Oct  1 16:55:46 central puppet-agent[26980]: Could not prepare for 
execution: Could not autoload puppet/indirector/certificate/rest: Invalid 
duration format '"900 # 15 mins"' for parameter: runinterval


----------------------------------------
Bug #16672: Puppet comments generate errors if not at ^beginning of line
https://projects.puppetlabs.com/issues/16672#change-72129

Author: Forrest Aldrich
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: puppet.conf comments 
Branch: 


Unlike previous versions, the ability to add a comment in Puppet 3.0 to 
puppet.conf appears restricted to single line entry, which prevents comments 
like:


    runinterval = 500 # comment


where during the upgrade this causes the client to choke and exit with an error 
that points to rest.rb.  This is the fix:
     
    
    # comment
    runinterval = 500


Puppet should be able to parse out comments at the end of a line, after the 
position of a hash tag.  Since this behavior appears to have changed, I presume 
it was introduced during the refactoring of 3.0 and thus should probably be 
fixed.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to