Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/puppet/parser/functions/has_interface_with.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Puppet::Parser::Functions
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(',')

Expand Down