Issue #9164 has been updated by James Turnbull.

Category set to network
Status changed from Unreviewed to Needs Decision
Assignee set to Brice Figureau
Target version set to 2.7.x
Affected Puppet version set to 2.7.0


----------------------------------------
Bug #9164: The certname in /etc/puppet/device.conf may not include a -
https://projects.puppetlabs.com/issues/9164

Author: Dean Wilson
Status: Needs Decision
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