Issue #16676 has been updated by Andrew Parker. Status changed from Unreviewed to Investigating Assignee set to Andrew Parker
I'm not sure this is a regression. I setup a `~/.puppet/puppet.conf` file to contain: <pre> [main] modulepath=/tmp # a comment runinterval=900 # 15 mins </pre> And then tried out the command `puppet master --configprint modulepath --confdir ~/.puppet/` (and also did this for `runinterval`) on 3.0.0, 2.7.0, 2.7.9, and 2.6.17. All of the various versions tested came back with the same values: <pre> > puppet master --configprint runinterval --confdir ~/.puppet/ 900 # 15 mins </pre> <pre> > puppet master --configprint modulepath --confdir ~/.puppet/ /tmp # a comment </pre> So it doesn't look like this is any kind of regression on behavior. ---------------------------------------- Bug #16676: End of line comments in puppet.conf are not treated as comments https://projects.puppetlabs.com/issues/16676#change-72229 Author: Jeff McCune Status: Investigating Priority: Normal Assignee: Andrew Parker Category: settings Target version: 3.0.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.
