Report abuse

code in /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/extlookup.rb

1
2
3
4
5
6
module Puppet::Parser::Functions
    newfunction(:extlookup, :type => :rvalue) do |args|
        fqdn = lookupvar("fqdn")
        Puppet.notice("Running extlookup function for #{fqdn}")
    end
end

master logs

1
17:56:04 puppet1> puppetmasterd[12606]: Running extlookup function for nephilim.ml.org