Skip to content

Commit 0e1671d

Browse files
committed
(docs) Add new documentation file to leftnav
1 parent 6679ec5 commit 0e1671d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

documentation/_puppetdb_nav.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ <h2 id="puppetdb">PuppetDB {{ page.doc.my_versions.puppetdb }}</h2>
2020
* **Configuration**
2121
* [Configuring PuppetDB]({{puppetdb}}/configure.html)
2222
* [puppetdb.conf: Configuring a Puppet/PuppetDB connection]({{puppetdb}}/puppetdb_connection.html)
23+
* [Configuring Postgres]({{puppetdb}}/configure_postgres.html)
2324
* [Setting up SSL for PostgreSQL]({{puppetdb}}/postgres_ssl.html)
2425
* **Usage/admin**
2526
* [Using PuppetDB]({{puppetdb}}/using.html)

documentation/configure_postgres.markdown

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ Particularly if you plan to run more than one PuppetDB instance
5353
connecting to the same database, we recommend you also
5454
[add and use a "migrator" user](#coordinating-database-migrations)
5555

56-
You should install the RegExp-optimized index extension
57-
[`pg_trgm`][pg_trgm]. This may require installing the
58-
`postgresql-contrib` (or equivalent) package, depending on your
56+
Install the [`pg_trgm`][pg_trgm] extension. PuppetDB makes use of this
57+
extension to improve the performance of queries that use regular expression
58+
filters (e.g. `certname ~ "abc\d+.example.com"`). This may require installing
59+
the `postgresql-contrib` (or equivalent) package, depending on your
5960
distribution:
6061

6162
$ sudo -u postgres sh

documentation/puppetdb.ditamap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<topichead navtitle="Configuration">
3333
<topicref href="configure.markdown" format="markdown"/>
3434
<topicref href="puppetdb_connection.markdown" format="markdown"/>
35+
<topicref href="configure_postgres.markdown" format="markdown"/>
3536
<topicref href="postgres_ssl.markdown" format="markdown"/>
3637
</topichead>
3738

0 commit comments

Comments
 (0)