Use 'public' instead of 'PUBLIC' in has_*_privilege() functions
Use 'public' instead of 'PUBLIC' in has_*_privilege() functions

When using System Information Functions like:
* has_database_privilege()
* has_table_privilege()

Allow usage of 'PUBLIC' in GRANT/REVOKE definition :

REVOKE CONNECT ON DATABASE database1 FROM PUBLIC;

postgresql::server::database_grant { 'revoke connect on database1':
    ensure => 'absent',
    db => 'database1',
    privilege => 'CONNECT',
    role => 'PUBLIC',
}

puppetlabs/puppetlabs-postgresql,buzzdeee/puppetlabs-postgresql,buzzdeee/puppetlabs-postgresql,puppetlabs/puppetlabs-postgresql,DavidS/puppetlabs-postgresql,DavidS/puppetlabs-postgresql,DavidS/puppetlabs-postgresql,buzzdeee/puppetlabs-postgresql,puppetlabs/puppetlabs-postgresql