diff options
author | Mathias Klette <mathias.klette@magicinternet.de> | 2015-06-24 14:58:48 +0200 |
---|---|---|
committer | Mathias Klette <mathias.klette@magicinternet.de> | 2015-06-24 15:02:02 +0200 |
commit | e96a818782c944b4b1af5417d0bcffc08e95aadc (patch) | |
tree | c0a07a514411edec2b62cdb2e17dc25bc202ecdd /lib/puppet/parser/functions/is_mac_address.rb | |
parent | f820bb156038f638d8e488286d0c2b92c5636925 (diff) |
catch and rescue from looking up non-existent facts when looking for 'kind'
facter (2.x) only provides facts without interface suffix for
* ipaddress
* netmask
'macaddress' and 'network' facts will always have the related interface
name appended. in turns lookupvar throws errors when strict_variables is
enabled.
Diffstat (limited to 'lib/puppet/parser/functions/is_mac_address.rb')
0 files changed, 0 insertions, 0 deletions