Unwrap text
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"
}