diff options
author | Hunter Haugen <hunter@puppetlabs.com> | 2014-08-05 10:55:58 -0700 |
---|---|---|
committer | Hunter Haugen <hunter@puppetlabs.com> | 2014-08-05 10:55:58 -0700 |
commit | 2ba0e375e2bb5b4a85eac781f02f6a3e8b96e0f6 (patch) | |
tree | 3e6519a658f623c81667271c8c6f9a8b431f6aa2 /lib/puppet/parser | |
parent | e310b1fdab7be1478b464167d2be20f0d4e5f63a (diff) | |
parent | 4c62b7a2eeec8d6e49ae8b05f2ed000a2b544cc2 (diff) |
Merge branch '4.3.x'
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r-- | lib/puppet/parser/functions/has_interface_with.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/has_interface_with.rb b/lib/puppet/parser/functions/has_interface_with.rb index 7f150a7..927b0df 100644 --- a/lib/puppet/parser/functions/has_interface_with.rb +++ b/lib/puppet/parser/functions/has_interface_with.rb @@ -25,7 +25,7 @@ has_interface_with("lo") => true interfaces = lookupvar('interfaces') # If we do not have any interfaces, then there are no requested attributes - return false if (interfaces == :undefined) + return false if (interfaces == :undefined || interfaces.nil?) interfaces = interfaces.split(',') |