We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4e9906f + 64f0ae2 commit d139fccCopy full SHA for d139fcc
1 file changed
lib/puppet/parser/functions/has_interface_with.rb
@@ -25,7 +25,7 @@ module Puppet::Parser::Functions
25
interfaces = lookupvar('interfaces')
26
27
# If we do not have any interfaces, then there are no requested attributes
28
- return false if (interfaces == :undefined)
+ return false if (interfaces == :undefined || interfaces.nil?)
29
30
interfaces = interfaces.split(',')
31
0 commit comments