~brad-marshall/charms/trusty/postgresql/add-nagios_hostname_type

« back to all changes in this revision

Viewing changes to templates/pg_hba.conf.tmpl

  • Committer: Stuart Bishop
  • Date: 2014-05-20 13:19:16 UTC
  • mfrom: (96.1.1 development_options)
  • Revision ID: stuart@stuartbishop.net-20140520131916-l6hbprvsaxce1sp6
[hackedbellini] Allow inclusion of arbitrary pg_hba.conf stanzas for arbitrary access control restrictions, per https://code.launchpad.net/~hackedbellini/charms/precise/postgresql/development_options/+merge/219058

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
local   replication root,postgres                     ident map=superusers
8
8
local   all         nagios                            md5
9
9
 
 
10
{% if extra_pg_auth is defined and extra_pg_auth|count > 0 -%}
 
11
# extra_pg_auth
 
12
{% for pg_auth in extra_pg_auth -%}
 
13
{{pg_auth}}
 
14
{% endfor -%}
 
15
{% endif -%}
 
16
 
10
17
{% if access_list is defined -%}
11
18
{% for unit in access_list -%}
12
19
# {{unit['relation-id']}} from {{unit['unit']}}