Issue #9164 has been updated by Brice Figureau.

Status changed from Accepted to In Topic Branch Pending Merge

This was pushed in the pull request:
https://github.com/puppetlabs/puppet/pull/113
----------------------------------------
Bug #9164: The certname in /etc/puppet/device.conf may not include a -
https://projects.puppetlabs.com/issues/9164

Author: Dean Wilson
Status: In Topic Branch Pending Merge
Priority: Low
Assignee: Brice Figureau
Category: network
Target version: 2.7.x
Affected Puppet version: 2.7.0
Keywords: 
Branch: 


The certname in /etc/puppet/device.conf may not include a -, which is allowed 
as a part of a hostname elsewhere. Adding a - to the regex character class 
seems to fix it.

<pre>
$ vi +55 lib/puppet/util/network_device/config.rb 
-          when /^\[([\w.]+)\]\s*$/ # [device.fqdn]
+          when /^\[([-\w.]+)\]\s*$/ # [device.fqdn]
</pre>

This is in puppet 2.7.3.


-- 
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