Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: puppetlabs/puppetlabs-postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: release-0.3.0
Choose a base ref
...
head repository: puppetlabs/puppetlabs-postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.0
Choose a head ref
  • 15 commits
  • 10 files changed
  • 8 contributors

Commits on Sep 21, 2012

  1. 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.
    cprice404 committed Sep 21, 2012
    Configuration menu
    Copy the full SHA
    f221c8a View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2012

  1. 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/main
    haus committed Sep 28, 2012
    Configuration menu
    Copy the full SHA
    82c5863 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2012

  1. Merge pull request #12 from haus/update_status_param_for_deb_ubuntu

    Update status for postgres service on Debian
    kennknowles committed Oct 2, 2012
    Configuration menu
    Copy the full SHA
    4e74e33 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2012

  1. Configuration menu
    Copy the full SHA
    e0c1836 View commit details
    Browse the repository at this point in the history
  2. missing 'default' selector case

    haf committed Oct 4, 2012
    Configuration menu
    Copy the full SHA
    69e38d5 View commit details
    Browse the repository at this point in the history
  3. $quoted_unless had extra $

    haf committed Oct 4, 2012
    Configuration menu
    Copy the full SHA
    9af4019 View commit details
    Browse the repository at this point in the history
  4. mis-spelt param names

    haf committed Oct 4, 2012
    Configuration menu
    Copy the full SHA
    1026da2 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2012

  1. 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 :-)
    bjoernalbers committed Oct 16, 2012
    Configuration menu
    Copy the full SHA
    f40b793 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2012

  1. Merge pull request #13 from haf/warnings-etc

    Warnings etc
    rbscott committed Oct 17, 2012
    Configuration menu
    Copy the full SHA
    d2131e3 View commit details
    Browse the repository at this point in the history
  2. Add postgresql::devel for development dependencies

    Adrien Thebo committed Oct 17, 2012
    Configuration menu
    Copy the full SHA
    5e71356 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2012

  1. Merge pull request #11 from cprice-puppet/bug/master/better-title-for…

    …-persist-firewall-resource
    
    Give the persist-firewall Exec a more explicit name
    kennknowles committed Oct 18, 2012
    Configuration menu
    Copy the full SHA
    389833f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #17 from puppetlabs-operations/master

    Add postgresql::devel for development dependencies
    kennknowles committed Oct 18, 2012
    Configuration menu
    Copy the full SHA
    22e7142 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #16 from bjoernalbers/server_example

    Add sample usage for postgresql::server class.
    kennknowles committed Oct 18, 2012
    Configuration menu
    Copy the full SHA
    847a591 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2012

  1. 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 committed Oct 24, 2012
    Configuration menu
    Copy the full SHA
    2c82464 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #21 from rcoleman/puppetlabs_ownership

    Adjust ownership to Puppet Labs
    Ryan Coleman committed Oct 24, 2012
    Configuration menu
    Copy the full SHA
    183d401 View commit details
    Browse the repository at this point in the history
Loading