Hunter Haugen
a50a16d97d
Merge pull request #580 from raphink/dev/replication
...
Replication type
2015-03-12 10:18:42 -07:00
Raphaël Pinson
76ab6f1160
Add a postgresql_replication_slot type
2015-03-12 18:14:58 +01:00
Morgan Haskel
d348cdb4b6
Merge pull request #579 from sathieu/template_encoding
...
(MODULES-1834) Be less strict when changing template1 encoding
2015-03-12 10:06:53 -07:00
JT (Jonny)
1f88cc3f93
Merge pull request #581 from mhaskel/merge_4.2.x_to_master
...
Merge 4.2.x to master
2015-03-11 16:35:26 +00:00
Mathieu Parent
f3a0db44ef
(MODULES-1834) Be less strict when changing template1 encoding
...
We currently use: UTF8 != UTF-8
We should instead use: pg_char_to_encoding(UTF8) == pg_char_to_encoding(UTF-8)
2015-03-10 10:03:44 +01:00
JT (Jonny)
6c61f6cfac
Merge pull request #578 from mhaskel/4.2.0-prep-pt2
...
Remove references to host parameter since the vote was to revert that
2015-03-10 08:48:16 +00:00
JT (Jonny)
f523a3e412
Merge pull request #577 from mhaskel/revert_host_param
...
Revert "(MODULES-661) Add host parameter to psql commands"
2015-03-10 00:23:19 +00:00
Morgan Haskel
33981b4032
Remove references to host parameter since the vote was to revert that
2015-03-09 17:21:40 -07:00
Morgan Haskel
8295b488cc
Revert "(MODULES-661) Add host parameter to psql commands"
...
This reverts commit d92b2545e2
.
Conflicts:
spec/unit/puppet/provider/postgresql_psql/ruby_spec.rb
2015-03-09 17:00:06 -07:00
Travis Fields
62a774a90e
Merge pull request #576 from mhaskel/4.2.0-prep
...
4.2.0 prep
2015-03-09 13:47:41 -07:00
Morgan Haskel
9236b21700
4.2.0 prep
2015-03-09 13:38:23 -07:00
Hunter Haugen
eaef089635
Merge pull request #574 from mhaskel/thankyou_geppetto
...
Rework defaults for `$object_name` in `postgresql::server::grant`
2015-03-09 09:50:05 -07:00
Morgan Haskel
154517aa32
There was a default case in the selector
2015-03-06 15:53:05 -08:00
Morgan Haskel
dcfe75eb95
Rework defaults for $object_name
in postgresql::server::grant
...
You don't have access to parameters within the parameter list.
2015-03-06 15:49:07 -08:00
Colleen Murphy
317c146629
Merge pull request #573 from mhaskel/openbsd_support
...
Openbsd support
2015-03-06 14:39:56 -08:00
Morgan Haskel
1ca8ecda15
Merge pull request #561 from igalic/docs-current
...
doc links should point to /current/ rather than a specific version
2015-03-06 14:26:42 -08:00
Morgan Haskel
593e953bf7
Readme and test updates for service_reload parameter
2015-03-06 14:11:33 -08:00
Sebastian Reitenbach
ef1681f5e5
Changes to support OpenBSD.
...
Added $service_reload parameter to params.pp, in order to allow
a reload of the postgresql server on OpenBSD, which apparently doesn't
have a service binary.
2015-03-06 14:11:33 -08:00
Hunter Haugen
ab98ae34ce
Merge pull request #572 from mhaskel/readme
...
README had outdated upgrade info
2015-03-06 13:52:27 -08:00
Morgan Haskel
a3d79445b0
README had outdated upgrade info
...
Info was on upgrading from 2.x->3.0, but this is 4.x.
2015-03-06 13:51:28 -08:00
TP Honey
4dbf624b2a
Merge pull request #570 from petems/MAINT-fix-spec-describe
...
(MAINT) Fixes incorrect rspec it description
2015-03-04 18:25:30 +00:00
Peter Souter
d1c2144b74
(MAINT) Fixes incorrect rspec it description
...
Copy-paste error from before
2015-03-04 11:57:06 +00:00
Morgan Haskel
8b49b58f3c
Merge pull request #568 from petems/MODULES-661-remote_postgres
...
(MODULES-661) Add host parameter to psql commands
2015-03-03 14:19:39 -08:00
Peter Souter
d92b2545e2
(MODULES-661) Add host parameter to psql commands
...
This allows you to use `postgres_pqsl` commands to be run against a specified host. The ultimate goal being that you can use `puppetlabs-postsgresql` to run against remote instances, especially things such as Amazons RDS service.
This PR will be further extended to do things like allow remote `table_grant` and the like.
2015-03-03 17:13:37 +00:00
JT (Jonny)
018437c5ff
Merge pull request #567 from antaflos/patch-1
...
Use correct TCP port when checking password
2015-03-02 16:35:23 +00:00
Andreas Ntaflos
aee6dba6f8
Use correct TCP port when checking password
...
The PostgreSQL server's port is specified in `postgresql::server::port`, so use it in the `unless` clause of `Exec['set_postgres_postgrespw']`. Failing to do so results in repeated invocations of the exec resource during Puppet runs when the server's port is not set to the default of 5432.
2015-02-27 04:48:15 +01:00
Colleen Murphy
b77c213351
Merge pull request #565 from gerhardsam/create_role_before_db
...
create role before database
2015-02-26 13:20:04 -08:00
Colleen Murphy
8b9ebd84bc
Merge pull request #566 from mcanevet/fix/future_parser
...
Fix for future parser
2015-02-25 08:48:43 -08:00
Mickaël Canévet
9303828255
Fix for future parser
2015-02-25 13:50:32 +01:00
Sebastian Gerhards
a246e586be
create role before database
...
Creating the role before creating the database is mandatory because otherwise
granting the access right to the database fails.
2015-02-23 11:57:05 +01:00
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
Igor Galić
f51bb46cea
doc links should point to /current/ rather than a specific version
2015-02-06 13:34:47 +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