Commit graph

724 commits

Author SHA1 Message Date
Colleen Murphy
6ba3179916 Fix data directory handling
The change introduced in b781849882 added
a complex operation that was not handled correctly for all operating
systems. This fix includes the following corrections:

- Change the systemd config and reload systemd for datadir changes in
  RHEL 7, and move configuration for this into
  postgresql::server::config since it is managing both the PGDATA and
  PGPORT variables
- Make sure Debian systems stop the service before changing the datadir
- Recreate cert links after running initdb in Debian and early ubuntu
- Change the port in the port spec to avoid selinux issues
- Turn off selinux in pgdata spec to avoid selinux issues
- Correct syntax for describing presence of a directory in pgdata spec
- Move the pgdata spec to the end of the tests so that puppet doesn't
  have to manager purging and recreating the original datadir
- Update README to describe all caveats of using this parameter
2014-10-31 16:03:15 -07:00
Colleen Murphy
fb719070a7 Merge pull request #514 from mixacha/pg_data_support
Adds support for PGDATA changing
2014-10-30 14:46:11 -07:00
Colleen Murphy
32fb8c8880 Merge pull request #516 from david-caro/master
Added fc21 default version
2014-10-27 12:16:35 -07:00
David Caro
53048211d0 Added fc21 default version 2014-10-27 19:23:29 +01:00
Milan Karalic
b781849882 Adds support for PGDATA changing in config_entry.pp
Ensure that data_directory is set in the config. per GitHub user tbd - PR#510 / PR#494 that was filed against wrong module branch"
Adds acceptance test for non default PGDATA, based on alternative_port_spec.rb
Fixes unit test for data directory
2014-10-23 23:37:03 +02:00
Hunter Haugen
5d4a543a54 Merge pull request #512 from cmurphy/metadata
Update PE compatibility info in metadata
2014-10-14 10:01:07 -07:00
Colleen Murphy
0f3609bbd6 Update PE compatibility info in metadata
Now compatible with PE 3.4.
2014-10-14 09:54:46 -07:00
Morgan Haskel
b7ff175594 Merge pull request #501 from cfeskens/allow-rhel7-repo
postgresql.org now has a RHEL7 repo available
2014-10-02 12:23:34 -05:00
Morgan Haskel
e3b6c5e79b Merge pull request #502 from aswen/typos
Fix some typo's in Readme and specfile.
2014-10-02 12:22:30 -05:00
Morgan Haskel
b9d0377029 Merge pull request #503 from petehayes/master
Fixed description for schema example
2014-10-02 12:21:49 -05:00
Hunter Haugen
eb96a85873 Merge pull request #506 from learningobjectsinc/doc-fix-login-default
$login parameter in server/role.pp defaults to true. doc says false.
2014-10-02 10:21:08 -07:00
Hunter Haugen
e725c6b6e9 Merge pull request #508 from ckaenzig/db-params-doc
Add some missing params documentation
2014-10-02 10:18:04 -07:00
Hunter Haugen
d553583ff8 Merge pull request #484 from tbartelmess/master
ticket/MODULES-1298
2014-10-02 10:08:28 -07:00
Colleen Murphy
ad75c3ed54 Merge pull request #504 from steeef/future_parser_fixes
fix future parser error
2014-10-02 08:49:10 -07:00
Christian Kaenzig
677b3c4d94 Add some missing params documentation
Copy 'owner' from postgresql::server::database to
postgresql::server::db and adding 'template' to both
(based on the createdb man page).
2014-09-25 15:22:55 +02:00
tobyw4n
56db66b1fa $login parameter in server/role.pp defaults to true 2014-09-22 13:39:38 -07:00
Stephen Price
289de739c3 fix future parser error 2014-09-16 11:19:43 -07:00
Peter Hayes
029ec9fcf3 Fixed description for schema example
The schema example referenced isolated as the namevar but in the description it said that the schema jane would be created.  Fixed by updating description to say schema named isolated will be created.
2014-09-16 09:43:12 -04:00
Alexander Swen
1fa55ca823 Fix some typo's in Readme and specfile. 2014-09-12 15:03:39 +02:00
Casey Feskens
ba67952288 postgresql.org now has a RHEL7 repo available 2014-09-11 09:23:56 -07:00
Hunter Haugen
a1edd262d8 Merge pull request #497 from hunner/patch_specs
Include postgresql::server class for specs
2014-09-08 16:27:27 -07:00
Hunter Haugen
df77fe4847 Include postgresql::server class for specs 2014-09-08 15:48:34 -07:00
Ashley Penney
81a85d896f Merge pull request #492 from mhaskel/spec_fix
Force concat install
2014-09-05 18:17:11 -04:00
Morgan Haskel
7084bdb20f Force concat install 2014-09-05 18:16:13 -04:00
Ashley Penney
ac508821d4 Merge pull request #489 from apenney/you-gotta-be-kidding
Remove trailing whitespace.
2014-09-03 16:35:41 -04:00
Ashley Penney
4015dee539 Remove trailing whitespace. 2014-09-03 16:35:14 -04:00
Ashley Penney
d204704aab Merge pull request #488 from apenney/fix-accept
Fix port changing.
2014-09-03 16:18:45 -04:00
Ashley Penney
29a597ab05 Improve port changing support.
This makes Debian 6 work, and hopefully Ubuntu 10.04 too.
2014-09-03 16:17:19 -04:00
Ashley Penney
e8a24d1513 Further tweaks to changelog. 2014-09-03 11:50:13 -04:00
Ashley Penney
c8cb155243 Prepare a 4.0.0 release. 2014-09-03 11:33:44 -04:00
Ken Barber
5ac19f97f1 Fix lsbmajdistreleasee fact for Ubuntu
Since facter 2.2.0 'fixed' the lsbmajdistrelease fact for Ubuntu, we now have to regexp
for the value. The new value would be '10.04' whereas the old is '10'.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-09-03 11:25:56 -04:00
Ashley Penney
3686ae23c4 Merge pull request #487 from apenney/fix-spec-helper
Allow failures.
2014-09-03 10:45:25 -04:00
Ashley Penney
70ce3f1245 Allow failures. 2014-09-03 10:45:04 -04:00
Ashley Penney
8a2a9e809d Merge pull request #486 from apenney/fix-spec-helper
Fix the spec helper to apply selinux to agents only.
2014-09-02 19:29:27 -04:00
Ashley Penney
001f3ae6ef Fix the spec helper to apply selinux to agents only. 2014-09-02 19:16:41 -04:00
Hunter Haugen
2816454b42 Merge pull request #485 from apenney/ARGH
This can't be refreshonly.
2014-09-02 09:41:37 -07:00
Ashley Penney
e2944b71fd This can't be refreshonly. 2014-09-02 12:40:34 -04:00
Thomas Bartelmess
424f3eda3f default_postgis_version for FreeBSD
Signed-off-by: Thomas Bartelmess <tbartelmess@marketcircle.com>
2014-09-01 17:00:39 -04:00
Ashley Penney
b513d03e4c Merge pull request #483 from apenney/fix
Unfortunately this didn't work on > 9.3 in practice.
2014-08-29 16:39:57 -04:00
Ashley Penney
bf10898759 Unfortunately this didn't work on > 9.3 in practice. 2014-08-29 16:39:34 -04:00
Ashley Penney
d88abff0a3 Merge pull request #481 from puppetlabs/revert-473-pgdata_patch
Revert "Support changing PGDATA on RedHat"
2014-08-29 16:37:56 -04:00
Ashley Penney
6497404eb5 Revert "Support changing PGDATA on RedHat" 2014-08-29 15:38:30 -04:00
Hunter Haugen
02265dfcb7 Merge pull request #480 from mhaskel/spec_updates
Update spec_helper for more consistency
2014-08-28 14:56:03 -07:00
Morgan Haskel
ae26f732ea Update spec_helper for more consistency 2014-08-28 17:55:16 -04:00
Ashley Penney
f38f75e018 Merge pull request #459 from holguinj/linkfix
doc: Fix anchor links in README TOC
2014-08-28 13:48:13 -04:00
Ashley Penney
0dc4729d55 Merge pull request #458 from stdietrich/pg_ident_doc_fix
Add correct documentation for pg_ident_rule type
2014-08-28 13:48:00 -04:00
Ashley Penney
f95c2375fb Merge pull request #464 from txaj/support_pg_ident
Fixes the accidental erasing of pg_ident.conf
2014-08-28 13:47:46 -04:00
Ashley Penney
48e1eb6002 Merge pull request #476 from hunner/remove_firewall
Remove firewall management
2014-08-28 13:17:53 -04:00
Ashley Penney
9dcf9f48da Merge pull request #479 from apenney/fix-lint
Fix indentation.
2014-08-28 13:17:35 -04:00
Ashley Penney
30973ff766 Fix indentation. 2014-08-28 13:16:57 -04:00