{%- import_yaml "postgresql/defaults.yaml" as default_settings -%}

{%- set defaults = salt['grains.filter_by'](default_settings, default='postgresql') -%}

{%- set postgresql = salt['pillar.get']('postgresql', default=defaults, merge=True) -%}

{%- set net = salt['pillar.get']('net') -%}