Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## code in /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/extlookup.rb module Puppet::Parser::Functions newfunction(:extlookup, :type => :rvalue) do |args| fqdn = lookupvar("fqdn") Puppet.notice("Running extlookup function for #{fqdn}") end end ## master logs 17:56:04 puppet1> puppetmasterd[12606]: Running extlookup function for nephilim.ml.org
This paste will be private.
From the Design Piracy series on my blog: