Sha256: 392cd36288d7e23163235be37170db4d2ca73499799294a43676b90db51ab96b

Contents?: true

Size: 386 Bytes

Versions: 6

Compression:

Stored size: 386 Bytes

Contents

class freighthop::database::mysql(
  $db_names,
  $users,
) {
  include mysql::server

  mysql::db{$db_names:
    user => "notorious",
    password => "notorious",
    host => "localhost",
    grant => ['All']
  }
  mysql_grant { $users:
    ensure     => 'present',
    options    => ['GRANT'],
    privileges => ['ALL'],
    table      => '*.*',
    user       => 'notorious@%',
  }
}

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
freighthop-0.2.1 local_modules/freighthop/manifests/database/mysql.pp
freighthop-0.2.1 modules/freighthop/manifests/database/mysql.pp
freighthop-0.2.0 local_modules/freighthop/manifests/database/mysql.pp
freighthop-0.2.0 modules/freighthop/manifests/database/mysql.pp
freighthop-0.1.0 local_modules/freighthop/manifests/database/mysql.pp
freighthop-0.1.0 modules/freighthop/manifests/database/mysql.pp