Commit graph

550 commits

Author SHA1 Message Date
Hunter Haugen
b76ca612cb Merge pull request #391 from geoffgarside/freebsd
Fix FreeBSD support
2014-03-20 15:08:32 -07:00
Geoff Garside
688b0aa3fc Replace psql_db => $user with $default_database.
On FreeBSD systems the $user variable is not 'postgres' so does not
match the default database correctly. These changes use the existing
default_database parameter to replace instances where $user is passed as
the database to be connected to.

These changes are in server::database, server::role and
server::grant.
2014-03-10 09:26:28 +00:00
Geoff Garside
3896baeabb Change validate_postgresql_connection.sh exec PATH
FreeBSD needs /usr/local/bin in PATH in order to find bash. This does
require that the node has the bash port installed. It might be desired
that a separate script was provided for FreeBSD which used its /bin/sh,
this could be done by changing the for loop in the script to use

    for c in $(jot $TRIES)

in place of

    for (( c=1; c<=$TRIES; c++ ))
2014-03-10 09:20:36 +00:00
Geoff Garside
8f89ffaf06 Update FreeBSD $confdir to defer to $datadir
This matches the behaviour of most of the other operating systems
configurations.
2014-03-10 09:19:52 +00:00
Geoff Garside
3225a889e6 Move params::{user,group} to be set under osfamily
Allows for OS specific $user and $group value specification. For most of
the target operating systems these will both be 'postgres'. For FreeBSD
however these values are 'pgsql'.
2014-03-10 09:17:10 +00:00
Ashley Penney
400a82d7e0 Merge pull request #388 from hunner/remove_autorelease
Remove autorelease
2014-03-05 12:18:21 -05:00
Hunter Haugen
17eff2f7db Remove autorelease 2014-03-05 09:11:11 -08:00
Hunter Haugen
99d69b2dca Merge remote-tracking branch 'puppetlabs/3.3.x' 2014-02-28 16:25:29 -08:00
Hunter Haugen
d96b77e4d1 Merge pull request #378 from apenney/fix-ordering
Fix the locale generation for Debian.
2014-02-28 16:23:05 -08:00
Ashley Penney
7ba4b02a4d Fix the locale generation for Debian. 2014-03-01 00:11:03 +00:00
Hunter Haugen
ad6e715543 Merge pull request #377 from apenney/document-locales
Ensure we call out the locales-all requirement.
2014-02-28 14:35:11 -08:00
Ashley Penney
5616cf8a09 Ensure we call out the locales-all requirement. 2014-02-28 17:34:39 -05:00
Ashley Penney
08ed78f809 Merge pull request #374 from hunner/missed_unsup
Missed these
2014-02-27 15:49:45 -05:00
Hunter Haugen
1a925123af Missed these 2014-02-27 12:48:10 -08:00
Ashley Penney
677b003883 Merge pull request #373 from hunner/add_unsup
Add unsupported platforms
2014-02-27 14:31:05 -05:00
Hunter Haugen
29e97e36b9 Add unsupported platforms 2014-02-27 11:29:59 -08:00
Joshua Hoblitt
d49939014c change pg_hba.conf to be owned by postgres user account
At present, the ownership of pg_hba.conf is hardwired to be uid 0.  It should have the same ownership as all of the other postgressql configuration files in the same cluster so that they can be managed/edited by the postgres role user (system) account.
2014-02-27 11:38:20 -07:00
Hunter Haugen
b3dbbf604c Merge pull request #371 from apenney/selinux-fixes
Switch to a regex match to ignore \n's.
2014-02-27 09:46:49 -08:00
Ashley Penney
ef86a33997 Switch to a regex match to ignore \n's. 2014-02-27 17:31:46 +00:00
Hunter Haugen
35ea4ebb64 Merge pull request #369 from hunner/fix_lsbdistid
Missing lsbdistid stub for apt module
2014-02-25 17:19:31 -08:00
Hunter Haugen
87cc257545 Missing lsbdistid stub for apt module 2014-02-25 17:18:35 -08:00
Hunter Haugen
f82cc79b86 Merge branch 'master' into 3.3.x 2014-02-24 16:12:39 -08:00
Ashley Penney
0a8a9a5e1d Merge pull request #368 from apenney/selinux-changes
This fixes this test to work in the face of oppressive SELinux!
2014-02-20 16:46:36 -05:00
Ashley Penney
48396f5729 This fixes this test to work in the face of oppressive SELinux! 2014-02-20 21:46:23 +00:00
Ashley Penney
50fcd43883 This fixes this test to work in the face of oppressive SELinux! 2014-02-20 21:45:13 +00:00
Ashley Penney
e25efcfc21 Merge pull request #365 from igalic/psql_path
use fully-qualified path to psql to set password
2014-02-18 12:09:33 -05:00
Alex Dreyer
715bd20436 Merge pull request #366 from justinstoller/maint/3.3.x/trailing_whitespace
remove trailing whitespace
2014-02-14 12:35:54 -08:00
Justin Stoller
c246bbbc8d remove trailing whitespace 2014-02-14 12:32:57 -08:00
Igor Galić
828c3b99d2 use fully-qualified path to psql to set password
When setting the a user's password, use the fully qualified path to the
psql binary. This should fix #359
2014-02-13 11:53:41 +01:00
Hunter Haugen
fd29d1c92b Merge pull request #364 from hunner/release_3.3.1
Release 3.3.1
2014-02-12 16:34:59 -08:00
Hunter Haugen
dc37d11831 Release 3.3.1
Bugfix:
- Allow dynamic rubygems host
2014-02-12 16:33:52 -08:00
Hunter Haugen
2e8e14afc0 Merge pull request #363 from hunner/dynamic_gemsource
Allow custom gemsource
2014-02-11 16:50:16 -08:00
Hunter Haugen
969cc8b7f1 Allow custom gemsource 2014-02-11 16:38:16 -08:00
Ashley Penney
b99094b248 Merge pull request #356 from apenney/33-release
Prepare a 3.3.0 release.
2014-01-28 10:35:52 -08:00
Ashley Penney
92f3f56de8 Prepare a 3.3.0 release. 2014-01-28 17:54:07 +00:00
Ashley Penney
9d9b7b8098 Merge pull request #353 from apenney/beaker-specs
Beaker specs
2014-01-27 09:40:34 -08:00
Ashley Penney
a353e8e16d Convert rspec-system tests over to beaker.
This work converts all the tests over to beaker.  Some things are
done slightly different in beaker, we rely much more heavily on
catch_failures rather than explicitly laying out the exit codes we
want but I have attempted to preserve the spirit of all tests.
2014-01-23 19:07:04 -05:00
Hunter Haugen
df3a830cbe Merge pull request #354 from ghoneycutt/travis
Travis
2014-01-23 11:09:06 -08:00
Garrett Honeycutt
404a757774 Test against Puppet v3.4.0 2014-01-23 14:07:15 -05:00
Garrett Honeycutt
97a226f32d Enable fast finish in Travis
http://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
2014-01-23 14:06:57 -05:00
Ashley Penney
d3cc71b604 Merge pull request #340 from jhoblitt/fix_dep_warning
use Puppet::Util::Execute.execute with puppet >= 3.4
2014-01-21 15:13:54 -08:00
Ashley Penney
488e988a0c Merge pull request #322 from bcomnes/amazon
Added newline at end of file
2014-01-21 15:03:21 -08:00
Ashley Penney
139ca0a542 Merge pull request #327 from xaque208/freebsdsupport
(feat) Add FreeBSD Support
2014-01-21 15:03:05 -08:00
Ashley Penney
8d7bf05796 Merge pull request #325 from aadamovich/patch-2
$postgresql::server::client_package_name is referred from install.pp, bu...
2014-01-21 14:36:11 -08:00
Ashley Penney
4409dbc4b2 Merge pull request #324 from aadamovich/patch-1
Wrong parameter name: manage_pg_conf -> manage_pg_hba_conf
2014-01-21 14:35:35 -08:00
Ashley Penney
0bb214d1be Merge pull request #317 from hubspotdevops/validate_db_connection_float
Prevent float of defined resource.
2014-01-21 14:32:19 -08:00
Ashley Penney
301715b8a9 Merge pull request #256 from mnencia/patch-3
Add support to custom xlogdir parameter
2014-01-21 14:24:10 -08:00
Ken Barber
24a69ea66b Merge pull request #349 from irconan/patch-1
Update README.md
2014-01-21 05:26:37 -08:00
irconan
44bf1bbb32 Update README.md
Fixed typo "inidb_path" -> "initdb_path"
2014-01-21 13:17:16 +00:00
Ken Barber
3228212774 Merge pull request #347 from mhagander/typo_fix
Fix typo, clearly from a copy/paste mistake
2014-01-17 06:49:52 -08:00