Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
node "www.example.com" { $postfixConfig = "none" include postfix } class postfix { ... if ! $postfixConfig { $postfixConfig = default } include("postfix::config::${postfixConfig}") } class postfix::config::none { } class postfix::config::default { file { "/etc/postfix/main.cf": ensure => "present", content => template("postfix/default.main.cf.erb"), require => Package["postfix"], notify => Service["postfix"], } }
This paste will be private.
From the Design Piracy series on my blog: