Commit graph

1113 commits

Author SHA1 Message Date
Henrik Lindberg
4791011cea Merge pull request #771 from domcleal/ticket/3442-extension-tests
(MODULES-3442) Use empty array for missing resource relationships
2016-06-04 00:50:31 +02:00
Dominic Cleal
9c2a99b9e5
(MODULES-3442) Use empty array for missing resource relationships
Empty require/before relationships in the server extension package
resource are changed from undef to empty arrays to work around PUP-6385
in Puppet 4.5.x. Previously undef was passed literally through
create_resources() causing Puppet to fail to find the resource named
`undef`.
2016-06-03 23:24:05 +01:00
JT (Jonny)
f040dd2d72 Merge pull request #761 from janfabry/MODULES-3311-environment-duplication
Don't overwrite or calculate the environment twice
2016-05-12 16:24:35 +01:00
Bryan Jen
ec086e48cb Merge pull request #760 from blackknight36/master
Fix validation script to work with FreeBSD.
2016-05-04 10:29:36 -07:00
Jan Fabry
47ab296f36 Don't overwrite or calculate the environment twice
MODULES-3311
2016-04-29 21:38:46 +02:00
Michael Watters
291dbd9a87
Fix validation script to work with FreeBSD.
The validate_postgresql_connection.sh script was coded to rely on
bash which is not available by default in FreeBSD.  Updated script
to use /bin/sh which is a valid POSIX shell.
2016-04-21 16:52:32 -04:00
Greg Hardy
275e6f9d24 Merge pull request #759 from puppetlabs/update-msync
Update to newest modulesync_configs [9ca280f]
2016-04-19 11:37:30 +01:00
David Schmitt
cf5140777b Update to newest modulesync_configs [9ca280f] 2016-04-18 20:15:09 +01:00
Bryan Jen
ec56d2ead1 Merge pull request #758 from hunner/fix_f23
(MODULES-3241) Add fedora 23
2016-04-12 14:51:54 -07:00
Hunter Haugen
5ddafcaf8d (MODULES-3241) Add fedora 23
It has the same defaults as fedora 22
2016-04-11 16:31:32 -07:00
David Schmitt
bccb77db3f Merge pull request #754 from xprazak2/timestamps
Adds timestamps into logs by default
2016-04-05 11:55:37 +01:00
Ondrej Prazak
b2cb2dfff0 Adds timestamps into logs by default 2016-04-05 10:59:22 +02:00
Emre Hasegeli
2527dc2f20 Minor Fixes on the Documentation
* Remove duplicate item from 4.7.1 changelog

* Fix spelling mistakes on README

* Document missing postgresql_psql argument onlyif
2016-04-04 19:31:57 +01:00
TP Honey
8018e568c0 Merge pull request #755 from DavidS/fix-strict-vars
(maint) fix test to run under strict variables
2016-04-04 17:49:59 +01:00
David Schmitt
31914f3547 (maint) fix test to run under strict variables 2016-04-04 14:38:19 +01:00
Hunter Haugen
107af3cb83 Merge pull request #749 from buzzdeee/master
prevent information leak of database user password
2016-03-14 15:21:14 -07:00
Sebastian Reitenbach
d73b4f2aff Do not leak the DB password when overriding environment variable
NEWPGPASSWD
2016-03-14 14:39:30 +01:00
David Schmitt
d834e9aa32 Merge pull request #748 from hunner/small_changes
Remove unused variable and update template comment
2016-03-07 10:45:48 +00:00
Hunter Haugen
35bfae5230 Remove unused variable and update template comment 2016-03-04 16:15:57 -08:00
Bryan Jen
f1bd5a9063 Merge pull request #747 from cyberious/default_connect_settings
Fix issues with missing parameters in `server` class
2016-03-01 12:10:05 -07:00
Travis Fields
740c0b3b40 Update postgresql::globals::default_connect_settings and default to {}
- Add missing parameter `default_connect_settings` to class `postgresql::server`
  which was required by all of the classes and actually would have failed if the
  tests where not masking the issue
- Remove test param that was masking the issue
2016-03-01 09:47:44 -08:00
Hunter Haugen
1f2638d300 Merge pull request #746 from mmoll/ubuntu_systemd
Ubuntu/vidid and newer use systemd
2016-02-29 14:42:11 -08:00
Michael Moll
ef94a2c51d Ubuntu/vidid and newer use systemd 2016-02-23 14:22:51 +01:00
Hunter Haugen
76321c78e4 Merge pull request #745 from puppetlabs/4.7.x
Mergeback 4.7.x to master
2016-02-18 14:36:33 -08:00
TP Honey
2a8ffef3a1 Merge pull request #744 from hunner/quote_addr
Update quoting because addresses are not floats
2016-02-18 18:11:30 +00:00
Hunter Haugen
f6dd7ca482 Update quoting because addresses are not floats 2016-02-18 10:05:56 -08:00
Hunter Haugen
fea6aa8e59 Merge pull request #743 from bmjen/4.7.1_prep
4.7.1 Release Prep
2016-02-17 17:02:15 -08:00
Bryan Jen
0d4e9327f4 Release prep for 4.7.1. 2016-02-17 17:53:42 -07:00
Bryan Jen
8464e33222 Merge pull request #738 from icetrain/master
Add missing onlyif_function to sequence grant code
2016-02-17 14:58:01 -07:00
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