Skip to content

Commit d9bbcd7

Browse files
(SIMP-10449) Add HOWTO enable puppetdb (#441)
SIMP-10449 #close
1 parent 5b05e15 commit d9bbcd7

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed

CHANGELOG

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
* Wed Sep 01 2021 Trevor Vaughan <tvaughan@onyxpoint.com>
1+
* Tue Sep 07 2021 Trevor Vaughan <tvaughan@onyxpoint.com>
2+
- Add HOWTO for managing PuppetDB
23
- Add HOWTO for enabling client reports
34
- Removed obsolete references to Travis CI
45

docs/HOWTO/20_Puppet/Enable_Client_Reporting.rst

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ back to `store`, set the following in :term:`Hiera`:
4343
PuppetDB Reports
4444
----------------
4545

46+
Prior to proceeding, you should read :ref:`ht-enable-puppetdb`_ if you have not
47+
already enabled :program:`puppetdb`.
48+
4649
If you want to use a :term:`GUI` application like `Puppetboard`_ to connect to
4750
:program:`puppetdb` for reports, then you will need to ensure that the reports
4851
are being sent to :program:`puppetdb` by the server.
+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.. _ht-enable-puppetdb:
2+
3+
HOWTO Enable PuppetDB
4+
=====================
5+
6+
.. IMPORTANT::
7+
8+
Do not attempt to manage PuppetDB on Puppet Enterprise hosts!
9+
10+
As of SIMP 6.6.0, :term:`puppetdb` is no longer enabled or managed by default.
11+
12+
Use the following YAML as a guide to the :term:`hiera` settings required to enable the management of :program:`puppetdb`.
13+
14+
.. code-block:: yaml
15+
16+
---
17+
# Include the puppetdb class
18+
simp::server::classes:
19+
- simp::puppetdb
20+
21+
## SIMP Required Settings
22+
23+
# Let pupmod::master::base handle this.
24+
puppetdb::master::config::restart_puppet: false
25+
26+
# Set the PuppetDB port
27+
puppetdb::master::config::puppetdb_port: 8139
28+
29+
## Optional Settings
30+
31+
# The version of PuppetDB that should be installed
32+
puppetdb::globals::version: 'latest'
33+
34+
# Set up node report storage
35+
puppetdb::master::config::manage_report_processor: true
36+
puppetdb::master::config::enable_reports: true
37+
38+
See the :pupmod:`puppetlabs/puppetdb` documentation for details on all of the settings that affect
39+
the configuration of :program:`puppetdb`.

0 commit comments

Comments
 (0)