Sha256: 39cc2660966227564af0ae36820555a74a15ddb4731bbe7dba06c2c532f2c7d3

Contents?: true

Size: 431 Bytes

Versions: 14

Compression:

Stored size: 431 Bytes

Contents

# Manage a database grant. See README.md for more details.
define postgresql::server::database_grant(
  $privilege,
  $db,
  $role,
  $psql_db   = undef,
  $psql_user = undef
) {
  postgresql::server::grant { "database:${name}":
    role        => $role,
    db          => $db,
    privilege   => $privilege,
    object_type => 'DATABASE',
    object_name => $db,
    psql_db     => $psql_db,
    psql_user   => $psql_user,
  }
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.6.0 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.5.2 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.5.1 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.5.0 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.4.1 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.4.0 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.3.3 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.3.2 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.3.1 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.3.0 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.2.1 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.2.0 modules/postgresql/manifests/server/database_grant.pp
freighthop-0.1.0 modules/postgresql/manifests/server/database_grant.pp