Sha256: 1ce97893cb35ab1056c3a3d4707e14b18df0f339aef0a425f6afa5d46931e3a2

Contents?: true

Size: 492 Bytes

Versions: 20

Compression:

Stored size: 492 Bytes

Contents

define freighthop::database::mysql::grant(
  $user = $title,
) {
  mysql_grant { "freighthop_mysql_grant_for_${user}_localhost":
    ensure     => 'present',
    options    => ['GRANT'],
    privileges => ['ALL'],
    table      => '*.*',
    user       => "${user}@localhost",
  }
  mysql_grant { "freighthop_mysql_grant_for_${user}_external":
    ensure     => 'present',
    options    => ['GRANT'],
    privileges => ['ALL'],
    table      => '*.*',
    user       => "${user}@%",
  }
}

Version data entries

20 entries across 10 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.6.1 local_modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.6.0 modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.6.0 local_modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.5.2 local_modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.5.2 modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.5.1 modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.5.1 local_modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.5.0 local_modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.5.0 modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.4.1 modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.4.1 local_modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.4.0 local_modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.4.0 modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.3.3 modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.3.3 local_modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.3.2 modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.3.2 local_modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.3.1 modules/freighthop/manifests/database/mysql/grant.pp
freighthop-0.3.1 local_modules/freighthop/manifests/database/mysql/grant.pp