Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class httpd { package { httpd: ensure => installed, tag => httpd } service { httpd: ensure => running, enable => true, hasrestart => true, hasstatus => true, require => Package['httpd'], tag => httpd } configfile { '/etc/httpd/virtualhost.d': recurse => true, source => "httpd/$fqdn/virtualhosts", require => Package['httpd'], owner => "root", group => "root", purge => true, tag => httpd, notify => Service['httpd'] } configfile { '/etc/httpd/conf/httpd.conf': source => "httpd/$fqdn/httpd.conf", require => Package['httpd'], owner => "root", group => "root", tag => httpd, notify => Service['httpd'] } }
This paste will be private.
From the Design Piracy series on my blog: