Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class ntp { @service { ntpd: name => $operatingsystem ? { default => "ntpd", }, ensure => running, enable => true, hasrestart => true, hasstatus => true, require => Package[ntp], subscribe => File["ntp.conf"], } ... class ntp::ntpdate inherits ntp { package { ntp: name => $operatingsystem ? { default => "ntp", }, ensure => present, } Service["ntpd"] { ensure => stopped } Realize Service["ntpd"]
This paste will be private.
From the Design Piracy series on my blog: