Issue #9164 has been updated by Jeff McCune.

Set the target version to 2.7.5 since this didn't get merged into 2.7.x until 
after the 2.7.4 RC was published.  (Please correct me if I'm wrong about this 
action.)
----------------------------------------
Bug #9164: The certname in /etc/puppet/device.conf may not include a -
https://projects.puppetlabs.com/issues/9164

Author: Dean Wilson
Status: Merged - Pending Release
Priority: Low
Assignee: Brice Figureau
Category: network
Target version: 2.7.5
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