Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class common::location { $address = extlookup("address") $aptproxy = extlookup("aptproxy") $citystate = extlookup("citystate") $nameservers = extlookup("nameservers") file { "/etc/resolv.conf": content => template("common/resolv.conf.erb"), ensure => "present"; } host { "aptproxy.$domain": alias => "aptproxy", ensure => "present", ip => "$aptproxy"; } }
This paste will be private.
From the Design Piracy series on my blog: