Though I have to be honest, comparing against 'true' look wrong even if it is a string value

```
unless  capture("test -e /etc/puppet/ && echo 'installed'").strip == 'installed'
  abort "Error: It looks like Puppet is not installed. Aborting" 
end
```