aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-12 14:27:05 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-12 14:27:05 +0200
commit1ad8359dc57c99c1671d7cb41b961c451fb1c22f (patch)
tree79dc027fce81a04abdae13f4386ae524ec9f0d79 /templates
parent6fd559e9c99e85426d41358a5ed95c522c8031bc (diff)
downloadpuppet-dhcp-1ad8359dc57c99c1671d7cb41b961c451fb1c22f.tar.gz
puppet-dhcp-1ad8359dc57c99c1671d7cb41b961c451fb1c22f.tar.bz2
capital letters are valid in mac addresses
Diffstat (limited to 'templates')
-rw-r--r--templates/host.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/host.conf.erb b/templates/host.conf.erb
index 1c690b4..c483d62 100644
--- a/templates/host.conf.erb
+++ b/templates/host.conf.erb
@@ -4,7 +4,7 @@
data.fetch('interfaces').sort.each do |if_name, if_mac|
scope.function_validate_re([if_name, '^\S+$'])
scope.function_validate_string([if_mac])
- scope.function_validate_re([if_mac, '^[a-f0-9:.]+$'])
+ scope.function_validate_re([if_mac, '^[A-Fa-f0-9:.]+$'])
-%>
host <%= host %>-<%= if_name %> {
hardware ethernet <%= if_mac %>;