diff options
Diffstat (limited to 'lib/puppet/parser/functions/defined.rb')
| -rw-r--r-- | lib/puppet/parser/functions/defined.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/defined.rb b/lib/puppet/parser/functions/defined.rb index b25368ccc..5ad74a79e 100644 --- a/lib/puppet/parser/functions/defined.rb +++ b/lib/puppet/parser/functions/defined.rb @@ -10,7 +10,7 @@ Puppet::Parser::Functions::newfunction(:defined, :type => :rvalue, :doc => "Dete case val when String # For some reason, it doesn't want me to return from here. - if Puppet::Type.type(val) or finddefine(val) or findclass(val) + if Puppet::Type.type(val) or find_definition(val) or find_hostclass(val) result = true break end |
