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 /spec | |
parent | 6fd559e9c99e85426d41358a5ed95c522c8031bc (diff) | |
download | puppet-dhcp-1ad8359dc57c99c1671d7cb41b961c451fb1c22f.tar.gz puppet-dhcp-1ad8359dc57c99c1671d7cb41b961c451fb1c22f.tar.bz2 |
capital letters are valid in mac addresses
Diffstat (limited to 'spec')
-rw-r--r-- | spec/defines/dhcp_hosts_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/defines/dhcp_hosts_spec.rb b/spec/defines/dhcp_hosts_spec.rb index f5f44ca..8170ed5 100644 --- a/spec/defines/dhcp_hosts_spec.rb +++ b/spec/defines/dhcp_hosts_spec.rb @@ -350,7 +350,7 @@ describe 'dhcp::hosts' do }, 'host2' => { 'interfaces' => { - 'eth1' => '00:11:af:33:44:55', + 'eth1' => '00:11:AF:33:44:55', }, 'fixed_address' => 'foo.example.com', 'options' => ['opt1'], @@ -363,7 +363,7 @@ describe 'dhcp::hosts' do :target => '/etc/dhcp/hosts.d/1.2.3.4.conf').with_content( /host host1-eth0 \{\n hardware ethernet 00:11:22:33:44:55;\n fixed-address host1;\n\}/).with_content( /host host1-wlan0 \{\n hardware ethernet 00:aa:bb:44:55:ff;\n fixed-address host1;\n\}/).with_content( - /host host2-eth1 \{\n hardware ethernet 00:11:af:33:44:55;\n fixed-address foo\.example\.com;\n opt1;\n\}/) + /host host2-eth1 \{\n hardware ethernet 00:11:AF:33:44:55;\n fixed-address foo\.example\.com;\n opt1;\n\}/) } end end |