Commit graph

787 commits

Author SHA1 Message Date
Colleen Murphy
9c2399be6c Merge pull request #540 from mcanevet/fix/encoding
Fix/encoding
2015-02-20 11:15:33 -08:00
Mickaël Canévet
e1034d9bee Fix template1 encoding on debian 2015-02-19 08:37:31 +01:00
Mickaël Canévet
0daf411a3e Add an acceptance test to prove that default encoding is wrong on Debian 2015-02-19 08:37:31 +01:00
Morgan Haskel
b0f2a8f765 Merge pull request #562 from hunner/fix_version
This wasn't matching anything other than psql 8
2015-02-06 17:42:24 +01:00
Hunter Haugen
bfaef511a6 This wasn't matching anything other than psql 8 2015-02-06 08:40:22 -08:00
Morgan Haskel
fdc8180820 Merge pull request #559 from hunner/fix_dbcomment
Fix comment detection
2015-02-06 15:40:38 +01:00
Hunter Haugen
f889a4612d Fix comment detection
On psql 8.1, `pg_catalog.shobj_description` does not exist. Also, if the
database to comment is not the current db then this warning will be
raised and the comment will not be applied: `WARNING:  database comments
may only be applied to the current database`

This fix uses the pg_* databases to find the comment based on the
database oid rather than the shared object description function.
2015-02-05 14:39:58 -08:00
Colleen Murphy
6d2b66cc3d Merge pull request #558 from hunner/fix_dbcomment
Fix comment detection
2015-02-04 22:48:28 -08:00
Colleen Murphy
ed66176030 Merge pull request #557 from hunner/fix_tablespace
Require server package before user permissions
2015-02-04 22:47:21 -08:00
Hunter Haugen
bd80c54664 Fix comment detection
On psql 8.1, `pg_catalog.shobj_description` does not exist. Also, if the
database to comment is not the current db then this warning will be
raised and the comment will not be applied: `WARNING:  database comments
may only be applied to the current database`

This fix uses the pg_* databases to find the comment based on the
database oid rather than the shared object description function.
2015-02-04 13:41:11 -08:00
Hunter Haugen
50ae9efbad Require server package before user permissions
The postgresql user is created by the server package, but this file
resource may be evaluated before the package is installed resulting in
permission failures.
2015-02-04 13:39:33 -08:00
Hunter Haugen
4ffa8adc89 Merge pull request #556 from cmurphy/rspec
Pin rspec gems
2015-02-04 12:03:21 -08:00
Colleen Murphy
6d9768ac38 Pin rspec gems 2015-02-04 17:02:04 +01:00
Colleen Murphy
d42b821969 Merge pull request #521 from raphink/dev/server_extension
Add postgresql::server::extension definition
2015-02-04 14:26:53 +01:00
Colleen Murphy
7a5a298fd0 Merge pull request #551 from juniorsysadmin/database-comment
(MODULES-1153) Add database comment parameter
2015-02-04 13:01:56 +01:00
juniorsysadmin
435d63297a (MODULES-1153) Add database comment parameter 2015-02-04 22:45:28 +11:00
Colleen Murphy
46567450fa Merge pull request #529 from phervieux/utopic
add utopic support
2015-02-04 12:05:14 +01:00
Colleen Murphy
f2e075d92c Merge pull request #554 from multiplay/freebsdfix
FreeBSD PostgreSQL wouldn't start first time
2015-02-04 11:59:54 +01:00
Colleen Murphy
39f920657b Merge pull request #542 from dhoppe/patch-1
Update README.md
2015-02-04 11:52:09 +01:00
Colleen Murphy
881d96481c Merge pull request #555 from phaf/improve_readme_roles
change example of postgresql::server::role definition to version 3
2015-01-29 08:40:42 -08:00
Patric Hafner
63fad69e05 change example of postgresql::server::role definition to version 3 2015-01-29 14:58:32 +01:00
Colleen Murphy
7b5a992aa1 Merge pull request #553 from PierreR/patch-1
Replace require by include
2015-01-27 12:14:47 -08:00
Colleen Murphy
cc7d2faeb0 Merge pull request #552 from juniorsysadmin/fix-lint-warnings
Fix lint warnings
2015-01-27 11:55:09 -08:00
Lee Packham
937f8825f5 FreeBSD PostgreSQL wouldn't start first time
It would be enabled, but it wouldn't work properly. This fixes that
issue the same way Puppet does itself; use the onestart/onestop and most
importantly in this case, the onestatus command.

By using this approach it means the Database server will actually start
whereas it would not before. It would enable, but not actually start.
onestatus means the service type gets the right response and behaves
properly.
2015-01-24 00:07:29 +00:00
juniorsysadmin
32ebbb5e34 Fix lint warnings 2015-01-21 10:46:29 +11:00
Colleen Murphy
db42203ba9 Merge pull request #549 from arioch/fix_invalid_byte_sequence
Fix invalid byte sequence in US-ASCII error
2015-01-20 12:28:28 -08:00
Pi3r
9a29aea976 Replace require by include
Avoid using the `require` function (which is IMHO a bad practice) by being more explicit in the `require` attribute value.
2015-01-13 09:24:29 +01:00
Tom De Vylder
0625b91d71 Fix invalid byte sequence in US-ASCII error 2015-01-09 13:33:30 +01:00
Hunter Haugen
094f5d8d0b Merge pull request #535 from pishro-oss/master
Fixing autodetected version for Debian Jessie, which should use postgresql 9.4
2015-01-08 10:10:25 -08:00
Morgan Haskel
0caf8a5b18 Merge pull request #548 from cmurphy/master
Add IntelliJ files to the ignore list
2014-12-29 11:22:26 -08:00
Colleen Murphy
04588a79a4 Add IntelliJ files to the ignore list 2014-12-29 10:41:19 -08:00
Morgan Haskel
7c520bd220 Merge pull request #538 from mattbostock/groupeseb-master
Allow per-schema grants and support for 'ALL TABLES IN SCHEMA'
2014-12-22 10:10:48 -08:00
Morgan Haskel
c7ae24c73d Merge pull request #532 from jbondpdx/master
FM-1523: Added module summary to metadata.json
2014-12-19 15:58:08 -08:00
Morgan Haskel
67a859b978 Merge pull request #544 from cmurphy/master
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
2014-12-09 08:23:06 -08:00
Colleen Murphy
6bb80dbd69 Add json gem
The puppet_facts gem implicitly depends on the json gem.
On Ruby 1.8.7, json is not built in. On Puppet 2.7, it is
not explicitly pulled in by the hiera gem. So we add it
here explicitly.
2014-12-08 22:52:37 -08:00
Colleen Murphy
ec2397d343 Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md 2014-12-08 10:23:41 -08:00
Raphaël Pinson
807fefe5fa Add postgresql::server::extension definition 2014-12-08 16:27:33 +01:00
Dennis Hoppe
7144d09675 Update README.md
At least on Debian / Ubuntu and PostgreSQL 9.1, the values for encoding and locale should look like this example.
2014-12-06 16:26:51 +01:00
Colleen Murphy
6fd4f01d6d Merge pull request #541 from bemosior/master
Minor README internal resource linking fixes.
2014-12-05 10:01:14 -08:00
Colleen Murphy
01211bbb48 Merge pull request #539 from juniorsysadmin/allow-unmanaged-service
MODULES-1522 Add service_manage parameter
2014-12-05 10:00:43 -08:00
Benjamin Mosior
fbd244e7f0 Removed Disclaimer/License internal resource link.
The target no longer exists.
2014-12-05 12:15:45 -05:00
Benjamin Mosior
cf63e5306b Fixed broken internal resource links. 2014-12-05 12:15:12 -05:00
juniorsysadmin
789543fc45 Add service_manage parameter
Loosely addresses MODULES-1522
2014-12-05 10:10:17 +11:00
Benoît Marcelin
d655024066 Add schema creator 2014-12-02 20:54:22 +00:00
Morgan Haskel
61f86551d8 Merge pull request #537 from justinstoller/maint/master/geppetto-update
Update for using Geppetto plugin in CI
2014-12-02 15:01:54 -05:00
Justin Stoller
79980afd43 Update for using Geppetto plugin in CI 2014-12-02 11:36:56 -08:00
Benoît Marcelin
aef405c39c Add support for GRANT SCHEMA and ALL TABLES IN SCHEMA 2014-12-01 16:07:38 +00:00
Benoît Marcelin
9278954cfe Make module compatible with puppetDB 2014-12-01 16:07:38 +00:00
Morgan Haskel
530a01a5c5 Merge pull request #534 from cyberious/MODULES-1485
MODULES-1485 Reverted to default behavior for Debian systems as pg_config should not be overridden
2014-11-21 14:56:02 -05:00
Armin ranjbar
9bb1c5e491 Fixing autodetected version for Debian Jessie, which uses postgresql 9.4 2014-11-21 22:26:18 +03:30