diff options
author | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2013-04-12 14:27:05 +0200 |
---|---|---|
committer | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2013-04-12 14:27:05 +0200 |
commit | 1ad8359dc57c99c1671d7cb41b961c451fb1c22f (patch) | |
tree | 79dc027fce81a04abdae13f4386ae524ec9f0d79 /templates | |
parent | 6fd559e9c99e85426d41358a5ed95c522c8031bc (diff) | |
download | puppet-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.erb | 2 |
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 %>; |