diff options
author | Lamont Granquist <lamont@opscode.com> | 2021-01-12 17:56:37 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-12 17:56:37 -0800 |
commit | 7ca3d87b135dcf64785d4d0b7ad298404173ab5c (patch) | |
tree | cf15397762ad0b41ba82fb9b07c306dcacbdf0a7 | |
parent | 0e8bb8b5afea34b57cdbbb3ad5f9fc33140c64f3 (diff) | |
parent | 20a45cbeae7655234e76ace16f9f3c32db111b14 (diff) | |
download | ohai-7ca3d87b135dcf64785d4d0b7ad298404173ab5c.tar.gz |
Merge pull request #1597 from chef/lcg/suppress-warning
suppress constant redefinition warning
-rw-r--r-- | lib/ohai/plugins/eucalyptus.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/eucalyptus.rb b/lib/ohai/plugins/eucalyptus.rb index 25f995ea..2127fc52 100644 --- a/lib/ohai/plugins/eucalyptus.rb +++ b/lib/ohai/plugins/eucalyptus.rb @@ -29,7 +29,7 @@ Ohai.plugin(:Eucalyptus) do provides "eucalyptus" depends "network/interfaces" - MAC_MATCH = /^[dD]0:0[dD]:/.freeze + MAC_MATCH = /^[dD]0:0[dD]:/.freeze unless defined?(MAC_MATCH) # returns the mac address from the collection of all address types def get_mac_address(addresses) |