You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345 |
- hosts = {{ salt['pillar.get']("model:postgres:host") }}
- user = {{ salt['pillar.get']("model:postgres:user") }}
- password = {{ salt['pillar.get']("model:postgres:password") }}
- dbname = {{ salt['pillar.get']("model:postgres:database") }}
- query = SELECT a.goto FROM alias_domain ad LEFT JOIN alias a ON a.domain = ad.target_domain WHERE ad.alias_domain = '%d' AND ad.active = true AND a.address = '%u' || '@' || ad.target_domain
|