-
Notifications
You must be signed in to change notification settings - Fork 613
Comparing changes
Open a pull request
base repository: puppetlabs/puppetlabs-postgresql
base: release-0.0.1
head repository: puppetlabs/puppetlabs-postgresql
compare: release-0.2.0
- 11 commits
- 34 files changed
- 2 contributors
Commits on Jun 8, 2012
-
Moved files up to root directory
Working on restructuring things to more closely match up with the layout of puppetlabs-mysql.
Configuration menu - View commit details
-
Copy full SHA for 21467c8 - Browse repository at this point
Copy the full SHA 21467c8View commit details -
Working version of postgresql::server
This is a first working version of postgresql::server. It includes a very simple test manifest, which has been tried out on CentOS6 and Ubuntu 10.04; initial tests were successful both from a clean state and for subsequent runs. Includes a new fact called 'postgres_default_version', which detects what the default version of postgres is for a given OS. This is needed because some of the commands and directory names include this version string. Current implementation *only* supports managing the system default version; in the future it would be nice to allow the user to explicitly specify a postgres version, but that isn't yet supported. The "postgresql::server" class includes a call to postgres's initdb command on redhat systems, because they don't do this automatically when the package is installed.
Configuration menu - View commit details
-
Copy full SHA for 6034e12 - Browse repository at this point
Copy the full SHA 6034e12View commit details -
Improve configuration for initial postgres install
This commit adds some configuration management for postgres, to allow users to get a more complete setup from their initial install. Prior to this commit, we were basically only ensuring that the package was installed and the service was running. Now, we support limited configuration for the pg_hba.conf file to enable md5 authentication for remote hosts, and for the postgresql.conf file to specify the listener addresses where TCP connections should be accepted. Without these two changes the initial postgres configuration doesn't allow *any* connections from outside of the local host. This commit also adds an option for opening up the postgres port in the firewall on redhat-based systems, and an option to allow setting the password for the 'postgres' database user. As of this commit, this module now has dependencies on puppetlabs-stdlib (version > 2.3.4, which includes the new 'match' parameter for the 'file_line' resource type), and on puppetlabs-firewall.
Configuration menu - View commit details
-
Copy full SHA for ba80247 - Browse repository at this point
Copy the full SHA ba80247View commit details
Commits on Jun 9, 2012
-
Bring database, database_user, and database_grant into alignment with…
… mysql module Renamed a few files and made some tweaks to try to get database_grant, database_user, and database types into a state where they work very similarly to the ones in the mysql module. Also introduced a "postgresql_password" function that can be used to generate an md5 password hash for a postgres user.
Configuration menu - View commit details
-
Copy full SHA for 45055d3 - Browse repository at this point
Copy the full SHA 45055d3View commit details -
Add postgresql::db convenience type, improve security
This commit adds a postgresql::db type for convenience; it mirrors the 'db' type from the mysql module, which allows you to create a database instance and user plus grant privileges to that user all in one succint resource. This commit also improves security in the following ways: * Revoke "CONNECT" privilege from the 'public' role for newly created databases; without this, any database created via this module will allow connections from any database user, and will allow them to do things like create tables. * Change to a 'reject'-based policy for dealing with remote connections by the postgres user in pg_hba.conf. Prior to this commit, if you tried to restrict access to the postgres user by IP, the rule would simply not match for disallowed IPs; then it would fall through to the rule for "all" users, which could still match and thus allow the postgres user to connect remotely.
Configuration menu - View commit details
-
Copy full SHA for 1175ea2 - Browse repository at this point
Copy the full SHA 1175ea2View commit details
Commits on Jun 14, 2012
-
It turns out that Ubuntu and Debian have different names for the postgres service; this fix makes the module compatible with debian 6.
Configuration menu - View commit details
-
Copy full SHA for cc5cad3 - Browse repository at this point
Copy the full SHA cc5cad3View commit details
Commits on Jul 20, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 2703830 - Browse repository at this point
Copy the full SHA 2703830View commit details
Commits on Jul 29, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 9eab95e - Browse repository at this point
Copy the full SHA 9eab95eView commit details
Commits on Aug 2, 2012
-
Merge pull request #1 from cprice-puppet/feature/master/align-with-pu…
…ppetlabs-mysql Feature/master/align with puppetlabs mysql
Configuration menu - View commit details
-
Copy full SHA for 4e0127f - Browse repository at this point
Copy the full SHA 4e0127fView commit details
Commits on Aug 16, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 26727a8 - Browse repository at this point
Copy the full SHA 26727a8View commit details -
Merge pull request #2 from cprice-puppet/maint/master/update-modulefi…
…le-to-new-stdlib Update Modulefile to reflect latest dependencies
Configuration menu - View commit details
-
Copy full SHA for b6245fd - Browse repository at this point
Copy the full SHA b6245fdView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff release-0.0.1...release-0.2.0