Sha256: 9ec88255fcca7cb838f6c7bd2ed098a6848aac3bdfe9963011ef2525a99902ae

Contents?: true

Size: 706 Bytes

Versions: 8

Compression:

Stored size: 706 Bytes

Contents

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

  postgresql::pg_hba_rule { 'local-users-get-everything':
    type        => 'local',
    database    => 'all',
    user        => 'all',
    auth_method => 'trust',
    order       => '0001',
  }
  postgresql::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::database { $databases: }
  postgresql::database_user { $database_users:
    superuser     => true,
    createdb      => true,
    createrole    => true,
  }
}

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
freighthop-0.0.4 local_modules/freighthop/manifests/postgres.pp
freighthop-0.0.4 modules/freighthop/manifests/postgres.pp
freighthop-0.0.3 local_modules/freighthop/manifests/postgres.pp
freighthop-0.0.3 modules/freighthop/manifests/postgres.pp
freighthop-0.0.2 local_modules/freighthop/manifests/postgres.pp
freighthop-0.0.2 modules/freighthop/manifests/postgres.pp
freighthop-0.0.1 local_modules/freighthop/manifests/postgres.pp
freighthop-0.0.1 modules/freighthop/manifests/postgres.pp