[COOK-3566] Give the user's rules more priority than the default ones in pg_hba

The priority of the `pg_hba` entries is defined by their position in the file. The sooner they appear, the more priority it has.

The default `local` entry that uses the `ident` auth method has more priority than the node rules, because it appears before. This is problematic because the rule is pretty generic, it applies to all users and all databases. That means the user can't define a more specific rule, for example:

    local    database    username                                 md5

A rule like this would give access by socket to a `username` user to the `database` db using a password. But it won't work since the `ident` default rule appears before in the file.

Signed-off-by: Seth Vargo <sethvargo@gmail.com>
[COOK-3599] Automatically add PGDG apt repo dep. on PostgreSQL version

Signed-off-by: Seth Vargo <sethvargo@gmail.com>
[COOK-3597] Implement `initdb_locale` attribute for RHEL

Signed-off-by: Seth Vargo <sethvargo@gmail.com>
[COOK-3685] Upgrade Repo Attributes for Postgresql 9.3

- Adds pgdg yum repo attributes for rhel based systems for 9.3
- Enhances pgdg yum repo attributes for newer 9.2 packages

Further information can be found here:  http://yum.postgresql.org/repopackages.php#pg93

Signed-off-by: Seth Vargo <sethvargo@gmail.com>
Version bump to v3.1.0
Version bump to v3.1.1
[COOK-3717] Pgdg repositories improvements

Signed-off-by: Sean OMeara <someara@opscode.com>
[COOK-3756] Change postgresql.conf mode from 0600 to 0644

Signed-off-by: Sean OMeara <someara@opscode.com>
Version bump to v3.2.0
Version bump to v3.2.1
[COOK-3851] Allow config file change notification    type to be specified by attribute, defaulting to :restart

Signed-off-by: Sean OMeara <someara@opscode.com>
[COOK-3611]Remove server bits and just install libpq-dev

Signed-off-by: Sean OMeara <someara@opscode.com>
[COOK-2954] Support Installing non-standard versions on CentOS 6

Signed-off-by: Sean OMeara <someara@opscode.com>
Version bump to v3.3.0
Version bump to v3.3.1
Version bump to v3.3.2
Version bump to v3.3.4
Merge branch 'master' of https://github.com/hw-cookbooks/postgresql
Debian wheezy postgresql doesn't support ssl