-
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.3.0
head repository: puppetlabs/puppetlabs-postgresql
compare: 1.0.0
- 15 commits
- 10 files changed
- 8 contributors
Commits on Sep 21, 2012
-
Give the persist-firewall Exec a more explicit name
The title I'd used for the persist-firewall resource was too generic, and fairly likely to collide with resources in other modules. This commit simply renames it to be a bit more explicit about belonging to this module, to reduce the likelihood of a title collision.
Configuration menu - View commit details
-
Copy full SHA for f221c8a - Browse repository at this point
Copy the full SHA f221c8aView commit details
Commits on Sep 28, 2012
-
Update status for postgres service on Debian
The postgresql init script on debian/ubuntu returns 0 no matter whether postgresql is started or stopped, so puppet has no way of knowing whether to start postgresql when the service is set to 'ensure => running'. This commit adds a param to the params class called $service_status which is set to the status piped to an egrep on debian/ubuntu, which reliably returns 0 if there are clusters running and 1 if there are none. The output before and after this patch can be seen below. If the init script is fixed at some point, the logic would need to be revisited. Before patch postgresql remains stopped after puppet run. $ # service postgresql stop $ # * Stopping PostgreSQL 9.1 database server $ # puppet apply -e "class {'postgresql::server':}" $ # notice: Finished catalog run in 0.15 seconds $ # service postgresql status $ # Running clusters: After patch postgresql is started after puppet run. $ # service postgresql stop $ # * Stopping PostgreSQL 9.1 database server $ # puppet apply -e "class {'postgresql::server':}" $ # notice: /Stage[main]/Postgresql::Server/Service[postgresqld]/ensure: ensure changed 'stopped' to 'running' $ # notice: Finished catalog run in 2.26 seconds $ # service postgresql status $ # Running clusters: 9.1/mainConfiguration menu - View commit details
-
Copy full SHA for 82c5863 - Browse repository at this point
Copy the full SHA 82c5863View commit details
Commits on Oct 2, 2012
-
Merge pull request #12 from haus/update_status_param_for_deb_ubuntu
Update status for postgres service on Debian
Configuration menu - View commit details
-
Copy full SHA for 4e74e33 - Browse repository at this point
Copy the full SHA 4e74e33View commit details
Commits on Oct 4, 2012
-
Configuration menu - View commit details
-
Copy full SHA for e0c1836 - Browse repository at this point
Copy the full SHA e0c1836View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69e38d5 - Browse repository at this point
Copy the full SHA 69e38d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9af4019 - Browse repository at this point
Copy the full SHA 9af4019View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1026da2 - Browse repository at this point
Copy the full SHA 1026da2View commit details
Commits on Oct 16, 2012
-
Add sample usage for postgresql::server class.
I had some issues trying to connect to the server, managed with defaults: vagrant@precise32:~$ psql psql: FATAL: role "vagrant" does not exist vagrant@precise32:~$ psql -U postgres psql: FATAL: Peer authentication failed for user "postgres" vagrant@precise32:~$ psql -U postgres -h 127.0.0.1 psql: FATAL: pg_hba.conf rejects connection for host "127.0.0.1", user "postgres", database "postgres", SSL on FATAL: pg_hba.conf rejects connection for host "127.0.0.1", user "postgres", database "postgres", SSL off vagrant@precise32:~$ psql -U postgres -h /var/run/postgresql psql: FATAL: Peer authentication failed for user "postgres" After some trial and error I found out that the reasons for this was restrictive permissions on the unix socket (which isn't bad at all): vagrant@precise32:~$ ls -l /var/run/postgresql/ total 4 -rw------- 1 postgres postgres 5 Oct 16 20:16 9.1-main.pid So I though I send some usage examples to help noops like myself to a quicker start with your module :-)
Configuration menu - View commit details
-
Copy full SHA for f40b793 - Browse repository at this point
Copy the full SHA f40b793View commit details
Commits on Oct 17, 2012
-
Configuration menu - View commit details
-
Copy full SHA for d2131e3 - Browse repository at this point
Copy the full SHA d2131e3View commit details -
Add postgresql::devel for development dependencies
Adrien Thebo committedOct 17, 2012 Configuration menu - View commit details
-
Copy full SHA for 5e71356 - Browse repository at this point
Copy the full SHA 5e71356View commit details
Commits on Oct 18, 2012
-
Merge pull request #11 from cprice-puppet/bug/master/better-title-for…
…-persist-firewall-resource Give the persist-firewall Exec a more explicit name
Configuration menu - View commit details
-
Copy full SHA for 389833f - Browse repository at this point
Copy the full SHA 389833fView commit details -
Merge pull request #17 from puppetlabs-operations/master
Add postgresql::devel for development dependencies
Configuration menu - View commit details
-
Copy full SHA for 22e7142 - Browse repository at this point
Copy the full SHA 22e7142View commit details -
Merge pull request #16 from bjoernalbers/server_example
Add sample usage for postgresql::server class.
Configuration menu - View commit details
-
Copy full SHA for 847a591 - Browse repository at this point
Copy the full SHA 847a591View commit details
Commits on Oct 24, 2012
-
Adjust ownership to Puppet Labs
Prior to this commit, Inkling Systems was responsible for improving and maintaining this module. The maintainer has moved on and Inkling wished for Puppet Labs to continue with this modules maintenance. This commit adjusts the README and Modulefile for this change in ownership.
Ryan Coleman committedOct 24, 2012 Configuration menu - View commit details
-
Copy full SHA for 2c82464 - Browse repository at this point
Copy the full SHA 2c82464View commit details -
Merge pull request #21 from rcoleman/puppetlabs_ownership
Adjust ownership to Puppet Labs
Ryan Coleman committedOct 24, 2012 Configuration menu - View commit details
-
Copy full SHA for 183d401 - Browse repository at this point
Copy the full SHA 183d401View 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.3.0...1.0.0