class wordpress::db (
  $create_db, $create_db_user, $db_name, $db_host, $db_user, $db_password,
) {
  wordpress::instance::db { "${db_host}/${db_name}":
    create_db      => $create_db,
    create_db_user => $create_db_user,
    db_name        => $db_name,
    db_host        => $db_host,
    db_user        => $db_user,
    db_password    => $db_password,
  }
}
