Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
#!/usr/bin/env puppet class openntpd::common { package { "openntpd": ensure => installed; } file { "/etc/openntpd/ntpd.conf": owner => root, group => root, mode => 644, require => Package["openntpd"], notify => Service["openntpd"], } service { "openntpd": ensure => running, enable => true, pattern => "ntpd", require => [ Package["openntpd"], File["/etc/openntpd/ntpd.conf"] ]; } } node junglist { include openntpd::common file { "/etc/default/openntpd": content => 'DAEMON_OPTS="-s"', require => Package["openntpd"], notify => Service["openntpd"]; } }
This paste will be private.
From the Design Piracy series on my blog: