It is in the second commit message: 

> This will allow exported resource mysql::db to define same database but different hostname and enables the cluster web nodes to declare the mysql::db and to be collected on db node.

People can define different users on the same database. Before it will trigger and duplicated resources error because the mysql_database[$dbname] is already defined.