```
capture("test -e /etc/puppet/ && echo 'installed'").strip == 'installed' or
  abort ""Error: It looks like Puppet is not installed. Aborting" 
```