Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
define apache_vhost($owner=root) { file{"/srv/www/${name}": owner => $owner, ensure => directory, } file{"/etc/httpd/conf.d/${name}.conf": owner => root, content => template("apache-vhost.erb") } } apache_vhost{"foo.com": owner => "me" }
This paste will be private.
From the Design Piracy series on my blog: