1 module Puppet::Parser::Functions
2 newfunction(:nodeinfo, :type => :rvalue) do |args|
7 require '/etc/puppet/lib/puppet/parser/functions/ldapinfo.rb'
8 require '/etc/puppet/lib/puppet/parser/functions/yamlinfo.rb'
10 results = function_yamlinfo(host, yamlfile)
11 results['ldap'] = function_ldapinfo(host, '*')
16 # vim: set fdm=marker ts=2 sw=2 et: