Issue #16676 has been updated by eric sorenson.

If anyone has an example of this working previously, I'd love to see it -- my 
testing showed the same results as Andy's, but I had also assumed this worked.

I put in changes to both the in-line documentation and the configuration guide 
: 

https://github.com/puppetlabs/puppet/pull/1207

https://github.com/puppetlabs/puppet-docs/pull/109
----------------------------------------
Bug #16676: End of line comments in puppet.conf are not treated as comments
https://projects.puppetlabs.com/issues/16676#change-72795

Author: Jeff McCune
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: settings
Target version: 3.x
Affected Puppet version: 3.0.0
Keywords: settings comment puppet.conf configuration conffile conf
Branch: 


# Overview

In Puppet 3.0.0 comments in `puppet.conf` that exist at the end of the line are 
not handled correctly.

# Steps to reproduce

Use this configuration file:

<pre>
# puppet.conf
[main]
certname = mccune.local

[agent]
certname = mccune.agent # different from master
</pre>

# Expected behavior

The agent certname should be "mccune.agent"

# Actual behavior

<pre>
$ puppet agent --test
Info: Creating a new SSL key for mccune.agent # foo
^CCancelling startup
</pre>

# References

 * [Puppet Users - More Puppet 3.0 upgrade issues: rest.rb and runinterval 
?](https://groups.google.com/d/topic/puppet-users/sJzQMYEbzPc/discussion)


-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to