You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
9.[Transfer Notice - Notice of authorship change](#transfer-notice)
14
14
10.[Contributors - List of module contributors](#contributors)
15
-
8.[Release Notes - Notes on the most recent updates to the module](#release-notes)
15
+
11.[Release Notes - Notes on the most recent updates to the module](#release-notes)
16
16
17
17
18
18
Overview
@@ -72,6 +72,9 @@ Once you've completed your configuration of `postgresql::server`, you can test o
72
72
73
73
If you get an error message from these commands, it means that your permissions are set in a way that restricts access from where you’re trying to connect. That might be a good thing or a bad thing, depending on your goals.
74
74
75
+
Advanced configuration setting parameters can be placed into `postgresql_puppet_extras.conf` (located in the same folder as `postgresql.conf`). You can manage that file as a normal puppet file resource, or however you see fit; which gives you complete control over the settings. Any value you specify in that file will override any existing value set in the templated version.
76
+
For more details about server configuration parameters see http://www.postgresql.org/docs/9.2/static/runtime-config.html.
77
+
75
78
###Configuring the database
76
79
77
80
There are many ways to set up a postgres database using the `postgresql::db` class. For instance, to set up a database for PuppetDB (this assumes you’ve already got the `postgresql::server` set up to your liking in your manifest, as discussed above):
@@ -199,6 +202,10 @@ This class is used to manage the basic postgresql client packages (which include
199
202
200
203
This defined type can be used to create a database with no users and no permissions, which is a rare use case.
201
204
205
+
**postgresql::tablespace**
206
+
207
+
This defined type can be used to create a tablespace.
208
+
202
209
**postgresql_psql**
203
210
204
211
This defined type manages the command line tool for the postgresql module.
Copy file name to clipboardExpand all lines: spec/support/shared_examples/system_default_postgres.rb
+20
Original file line number
Diff line number
Diff line change
@@ -150,4 +150,24 @@ def install_postgres
150
150
sudo_psql_and_expect_result(vm,'--command="select ts.spcname from pg_database db, pg_tablespace ts where db.dattablespace = ts.oid and db.datname = \'"\'tablespacedb3\'"\'"','tablespace2')
151
151
end
152
152
end
153
+
154
+
describe'postgresql.conf include'do
155
+
it"should support an 'include' directive at the end of postgresql.conf"do
0 commit comments