Commit graph

1134 commits

Author SHA1 Message Date
Hunter Haugen
88a9a042f3 Merge pull request #742 from puppetlabs/revert-720-postgresql_version_fact
Revert "Add postgresql_version fact"
2016-02-17 13:38:32 -08:00
Bryan Jen
e06fc02731 Revert "Add postgresql_version fact" 2016-02-17 12:54:02 -07:00
TP Honey
5f4b9959f3 Merge pull request #741 from DavidS/fm-4046-update-msync
(FM-4046) Update to current msync configs [006831f]
2016-02-16 17:25:39 +00:00
David Schmitt
8ce25cc6f3 (FM-4046) Update to current msync configs [006831f]
This moves all copyright statements to the NOTICE file in accordance with the ASFs guidelines on applying the Apache-2.0 license.
2016-02-16 16:33:49 +00:00
Helen
0b24b265c5 Merge pull request #734 from gfokkema/master
Archlinux service reload parameter is incorrect.
2016-02-15 12:31:22 +00:00
icetrain
abd6c6fe07 Add missing onlyif_function to sequence grant code 2016-02-15 13:21:42 +01:00
Helen
577299f289 Merge pull request #731 from shawn-sterling/amazon-version-workaround
amazon linux defaults to postgresql92 now
2016-02-15 12:09:18 +00:00
Hunter Haugen
64c1e45d85 Merge pull request #737 from jbondpdx/master
correcting formatting error in README
2016-02-12 16:58:54 -08:00
jbondpdx
cddfd66480 correcting formatting error in README 2016-02-12 15:44:27 -08:00
Hunter Haugen
1dd78063e7 Merge pull request #736 from Aselinux/patch-1
postgres server init script naming on amazon linux ami
2016-02-12 13:18:44 -08:00
Aselinux
a690089f89 postgres server init script naming on amazon linux ami
On current amazon linux ami (details below), and open puppet (details below), the postgres module (installed as part of puppetlabs/puppetdb) currently, tries to start postgressql server with /etc/init.d/postgresql9.4 , while the init script doesn't have the dot in the version number, so it needs to use /etc/init.d/postgresql94

From what I see in all available postgresql server rpms, currently on amazon linux ami, seems all the init scripts of postgresql doesn't have a dot in the suffix version number.

Supporting info:

[root@puppet ~]# yum list postgres* | grep 'server\.'; 
postgresql94-server.x86_64            9.4.5-1.63.amzn1        @amzn-updates     
postgresql8-server.x86_64             8.4.20-4.51.amzn1       amzn-updates      
postgresql92-server.x86_64            9.2.14-1.56.amzn1       amzn-updates      
postgresql93-server.x86_64            9.3.10-1.60.amzn1       amzn-updates      

for i in postgresql8-server.x86_64 postgresql92-server.x86_64 postgresql93-server.x86_64 postgresql94-server.x86_64; do echo $i; repoquery -l $i | grep init.d; done

postgresql8-server.x86_64
/etc/rc.d/init.d/postgresql
postgresql92-server.x86_64
/etc/rc.d/init.d/postgresql92
postgresql93-server.x86_64
/etc/rc.d/init.d/postgresql93
postgresql94-server.x86_64

[root@puppet ~]# puppet --version
4.3.2
[root@puppet ~]# rpm -qa | grep puppet | grep server
puppetserver-2.2.1-1.el6.noarch
[root@puppet ~]# 
[root@puppet ~]# cat /etc/os-release 
NAME="Amazon Linux AMI"
VERSION="2015.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2015.09"
PRETTY_NAME="Amazon Linux AMI 2015.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2015.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
[root@puppet ~]# 
[root@puppet ~]# cat /etc/system-release
Amazon Linux AMI release 2015.09
2016-02-12 01:27:02 +00:00
Bryan Jen
4659b46d4b Merge pull request #735 from antaflos/patch-3
Correctly set $service_provider
2016-02-09 16:46:41 -07:00
Gerlof Fokkema
8db810e268 $service_provider statement doesn't seem to do anything.
The cause turned out to be a misconfigured setting for OS type
Archlinux.
2016-02-09 19:29:52 +01:00
Andreas Ntaflos
dc62d48a5b Correctly set $service_provider
The `$service_provider` variable in params.pp is user-definable via `postgresql::globals::service_provider`. Thus params.pp should reference that variable correctly, like other variables from globals.pp.
2016-02-09 17:42:53 +01:00
Bryan Jen
ba1fcbac6b Merge pull request #732 from martijn/master
Fix markdown error in README
2016-02-05 12:25:11 -07:00
Martijn Storck
58f3f13762 Fix markdown error in README 2016-02-04 11:04:14 +01:00
Shawn Sterling
feb7f05271 amazon linux defaults to postgresql92 now, this workaround will let it install 2016-02-03 16:05:56 -08:00
Hunter Haugen
9f1cf29857 Merge pull request #730 from puppetlabs/4.7.x
4.7.x mergeback to master
2016-02-03 15:37:40 -08:00
Bryan Jen
a997fe3018 Merge pull request #725 from squarit/square
Allow puppetlabs-concat 2.x
2016-02-03 16:34:31 -07:00
Bryan Jen
d1b7be8782 Merge pull request #720 from jyaworski/postgresql_version_fact
Add postgresql_version fact
2016-02-03 13:44:22 -07:00
Bryan Jen
6f5002aa0e Merge pull request #719 from matonb/psql_port
Fix password change failing
2016-02-03 11:40:00 -07:00
Brandon Weeks
baa90be132 Allow puppetlabs-concat 2.x 2016-02-02 15:17:17 -08:00
Bryan Jen
10ed20346a Merge pull request #729 from hunner/fix_quote
Fix quoting
2016-02-02 11:54:31 -07:00
Hunter Haugen
7e27a989c0 Fix quoting 2016-02-02 10:51:20 -08:00
TP Honey
3d5a1cfe94 Merge pull request #726 from infopro-digital/fix_password_escape
Escape case where password ends with '$'.
2016-02-02 12:00:03 +00:00
Farzad FARID
810448afa0 Escape case where password ends with '$'.
postgresql_escape returned an invalid string if the password end in '$':
    postgres=# alter role "postgres" password $$foo$$$;
    ERROR:  syntax error at or near "$"
    LINE 1: alter role "postgres" password $$foo$$$;
2016-02-02 10:13:19 +01:00
Hunter Haugen
f7dfa262dc Merge pull request #727 from supercow/quote_owner
(MODULES-3024) Quote database objects when creating databases
2016-02-01 15:23:14 -08:00
James Sweeny
5354d0f1ea (MODULES-3024) Quote database objects when creating databases
Prior to this commit, when creating databases with a name or owner that has
characters which must be quoted (e.g., "pe-postgres"), the postgresql::server::database define
fails due to a SQL syntax error.
2016-02-01 17:58:55 -05:00
TP Honey
cfdeee8b30 Merge pull request #724 from HelenCampbell/4.7.0
Changelog, metadata and nodeset update for 4.7.0
2016-02-01 14:52:46 +00:00
Helen Campbell
9004ad5747 Changelog, metadata and nodeset update for 4.7.0 2016-02-01 14:35:15 +00:00
Brett Maton
d71e3f754d Fix password change failing
postgres db user password change failing when postgres is listening on non standard port number.
2016-01-30 19:01:02 +00:00
Bryan Jen
ea2648674d Merge pull request #722 from erikanderson/apt_update
MODULES-3019 - Schedule apt update after install of repo
2016-01-29 20:26:10 -07:00
Erik Anderson
4cddd80245 Schedule apt update after install of repo 2016-01-29 16:20:20 -07:00
Bryan Jen
fc4eede991 Merge pull request #723 from hunner/rm_swp
Whoops
2016-01-29 15:24:57 -07:00
Hunter Haugen
355376989d Whoops 2016-01-29 14:23:39 -08:00
Bryan Jen
02ae476dc8 Merge pull request #718 from jbondpdx/master
FM-4657: postgresql edit pass
2016-01-29 14:49:40 -07:00
jbondpdx
cd2a54855b FM-4657: postgresql edit pass 2016-01-29 13:49:00 -08:00
Bryan Jen
e67abfeefa Merge pull request #721 from hunner/allow_floats
(MODULES-2960) Allow float postgresql_conf values
2016-01-29 14:46:19 -07:00
Hunter Haugen
e18342829e (MODULES-2960) Allow float postgresql_conf values 2016-01-29 12:38:02 -08:00
Joseph Yaworski
edc8d3c3e3 Add postgresql_version fact 2016-01-29 15:00:06 -05:00
Bryan Jen
30060afd24 Merge pull request #717 from gerhardsam/acceptance/desc-fixes
Fix postgresql::server acceptance test descriptions
2016-01-29 10:34:08 -07:00
Sebastian Gerhards
2a78c474a3 Fix postgresql::server acceptance test descriptions
The descriptions of the acceptance tests should match the class under
test, i.e. postgresql::server.
2016-01-28 15:26:14 +01:00
David Schmitt
8a84929b37 Merge pull request #716 from hunner/fix_95
Add default postgis version for 9.5
2016-01-28 10:22:28 +00:00
Hunter Haugen
a6ccfb217e (MODULES-2968) Add default postgis version for 9.5
This commit also updates the logic that determines the postgis version
so that if version association is missing in the future, it will still
compile.
2016-01-27 15:34:22 -08:00
Hunter Haugen
3e8ca93334 Merge pull request #715 from DavidS/fm-4049-update-msync
(FM-4049) update to modulesync_configs
2016-01-27 08:36:08 -08:00
David Schmitt
6e6d242419 (FM-4049) Update to current msync configs [2c99161] 2016-01-27 14:46:24 +00:00
Bryan Jen
6120869531 Merge pull request #714 from jtappa/readme-edits
DOC-1496: README re-write.
2016-01-21 15:08:57 -07:00
Jorie Tappa
5aac739f94 DOC-1496: README re-write. 2016-01-21 14:26:29 -06:00
David Schmitt
aab6921e08 Merge pull request #712 from buzzdeee/master
OpenBSD 5.9 will also ship a PostgreSQL 9.4 version
2015-12-22 10:19:52 +00:00
Sebastian Reitenbach
aa044ba295 OpenBSD 5.9 will also ship a PostgreSQL 9.4 version 2015-12-21 23:36:00 +01:00