Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
case $operatingsystem { "freebsd": { $apache2service = "apache22" $apache2package = "apache" } "debian": { $apache2service = "apache2" $apache2package = "apache2" } } service { "$apache2service": alias => "apache2", <-------- line 142 in real file ensure => running, hasrestart => true, require => Package["apache2"], } # puppetd -t warning: Not using cache on failed catalog warning: Configuration could not be instantiated: Duplicate definition: Service[apache2] is already defined in file /etc/puppet/modules/apache2/manifests/init.pp at line 142; cannot redefine
This paste will be private.
From the Design Piracy series on my blog: