```
unless  capture("if [ -e /etc/puppet/ ]; then echo 'true'; fi").strip == 'true'
  abort "Error: It looks like Puppet is not installed. Aborting" 
end