aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet/site/pg.h1.int.pdp7.net.pp
blob: c61a20d1ebec57f9bc77dfa11662add96a1fa1f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
node 'pg.h1.int.pdp7.net' {
  class {'postgres':
    pg_hba_conf => @(EOT)
      # TYPE  DATABASE        USER            ADDRESS                   METHOD
      # "local" is for Unix domain socket connections only
      local   all             all                                       peer
      host    weight          k8s_prod        k8s-prod.h1.int.pdp7.net  trust
      host    weight          grafana         grafana.h2.int.pdp7.net   trust
      host    weight          grafana         grafana.h1.int.pdp7.net   trust
      host    miniflux        miniflux        miniflux.h1.int.pdp7.net  trust
      host    nextcloud       nextcloud       nextcloud.h1.int.pdp7.net trust
      | EOT
    ,
  }

  package {'postgresql15-contrib':} # hstore for miniflux
}