There's https://github.com/puppetlabs/puppetlabs-stdlib#pick: ``` $foreman_url_real = pick($foreman_url, $::foreman::foreman_url)``` is more readable IMHO.