Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
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": enable => true, ensure => running, pattern => "ntpd", require => [ Package["openntpd"], File["/etc/openntpd/ntpd.conf"] ], } } class openntpd::client inherits openntpd::common { File["/etc/openntpd/ntpd.conf"] { content => template("openntpd/ntpd.conf.client.erb"), } } class basic-node { include openntpd::client 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: