1 # TODO: in mysql module, the grant resource name might look like this: 'user@host/dbname';
2 # I think that the API for the resource type should split these up, because it's
3 # easier / safer to recombine them for mysql than it is to parse them for other
4 # databases. Also, in the mysql module, the hostname portion of that string
5 # affects the user's ability to connect from remote hosts. In postgres this is
6 # managed via pg_hba.conf; not sure if we want to try to reconcile that difference
7 # in the modules or not.
8 postgresql::database_grant{'test1':
9 # TODO: mysql supports an array of privileges here. We should do that if we