Sha256: a0f7115af60708439596c09d5677b7bd7da8b86dcb28ef3a4f3e471fb4c90605

Contents?: true

Size: 722 Bytes

Versions: 18

Compression:

Stored size: 722 Bytes

Contents

class freighthop::database::postgres(
  $databases,
  $users,
) {
  include postgresql::server

  postgresql::server::pg_hba_rule { 'local-users-get-everything':
    type        => 'local',
    database    => 'all',
    user        => 'all',
    auth_method => 'trust',
    order       => '0001',
  }
  postgresql::server::pg_hba_rule { 'local-host-connections-get-everything':
    type        => 'host',
    database    => 'all',
    user        => 'all',
    address     => '127.0.0.1/32',
    auth_method => 'trust',
    order       => '0001',
  }
  postgresql::server::database { $databases: }
  postgresql::server::role { $users:
    superuser     => true,
    createdb      => true,
    createrole    => true,
  }
}

Version data entries

18 entries across 9 versions & 1 rubygems

Version Path
freighthop-0.5.2 local_modules/freighthop/manifests/database/postgres.pp
freighthop-0.5.2 modules/freighthop/manifests/database/postgres.pp
freighthop-0.5.1 local_modules/freighthop/manifests/database/postgres.pp
freighthop-0.5.1 modules/freighthop/manifests/database/postgres.pp
freighthop-0.5.0 modules/freighthop/manifests/database/postgres.pp
freighthop-0.5.0 local_modules/freighthop/manifests/database/postgres.pp
freighthop-0.4.1 local_modules/freighthop/manifests/database/postgres.pp
freighthop-0.4.1 modules/freighthop/manifests/database/postgres.pp
freighthop-0.4.0 modules/freighthop/manifests/database/postgres.pp
freighthop-0.4.0 local_modules/freighthop/manifests/database/postgres.pp
freighthop-0.3.3 modules/freighthop/manifests/database/postgres.pp
freighthop-0.3.3 local_modules/freighthop/manifests/database/postgres.pp
freighthop-0.3.2 modules/freighthop/manifests/database/postgres.pp
freighthop-0.3.2 local_modules/freighthop/manifests/database/postgres.pp
freighthop-0.3.1 local_modules/freighthop/manifests/database/postgres.pp
freighthop-0.3.1 modules/freighthop/manifests/database/postgres.pp
freighthop-0.3.0 modules/freighthop/manifests/database/postgres.pp
freighthop-0.3.0 local_modules/freighthop/manifests/database/postgres.pp