You thinking something like this:

```ruby
prepare_install_ps1 if config[:require_chef_omnibus]
```