Sha256: 2e71abe651f2523b91bde90534b3327671165332c99ba5bfa28e27c5f2b4bdd8

Contents?: true

Size: 564 Bytes

Versions: 6

Compression:

Stored size: 564 Bytes

Contents

# Basic remote access
postgresql::pg_hba_rule{ 'allow access to db foo from 2.2.2.0/24 for user foo':
  type        => 'host',
  database    => 'foo',
  user        => 'foo',
  address     => '2.2.2.0/24',
  auth_method => 'md5',
}

# LDAP Integration
postgresql::pg_hba_rule{ 'allow ldap access to db foo from 10.1.1.0/24 for all':
  type        => 'host',
  database    => 'foo',
  user        => 'all',
  address     => '10.1.1.0/24',
  auth_method => 'ldap',
  auth_option => 'ldapserver=ldap.example.net ldapprefix="cn=" ldapsuffix=", dc=example, dc=net"',
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
freighthop-0.0.6 modules/postgresql/examples/postgresql_pg_hba_rule.pp
freighthop-0.0.5 modules/postgresql/examples/postgresql_pg_hba_rule.pp
freighthop-0.0.4 modules/postgresql/examples/postgresql_pg_hba_rule.pp
freighthop-0.0.3 modules/postgresql/examples/postgresql_pg_hba_rule.pp
freighthop-0.0.2 modules/postgresql/examples/postgresql_pg_hba_rule.pp
freighthop-0.0.1 modules/postgresql/examples/postgresql_pg_hba_rule.pp