Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
service{ "mongrels": ensure=>running, status=>"/usr/bin/mongrel_rails cluster::status -c /etc/mongrel_cluster/sshare.yml", start=>"/usr/bin/mongrel_rails cluster::start -c /etc/mongrel_cluster/sshare.yml", stop=>"/usr/bin/mongrel_rails cluster::stop -c /etc/mongrel_cluster/sshare.yml", restart=>"/usr/bin/mongrel_rails cluster::restart -c /etc/mongrel_cluster/sshare.yml", require=>Exec["is_app_deployed"] } exec{ "is_app_deployed": name=>' [ -e "/home/slideshare/sshare/app/config/boot.rb" ] ', path=>"/usr/bin:/usr/sbin:/bin:/sbin" }
This paste will be private.
From the Design Piracy series on my blog: