@@ -75,13 +75,15 @@ everything (PostgreSQL, PuppetDB, Puppet master) all on the same node. This
7575setup will be great for a testing or experimental environment. In this case,
7676your manifest will look like:
7777
78- node <hostname> {
79- # Configure puppetdb and its underlying database
80- class { 'puppetdb': }
81-
82- # Configure the Puppet master to use puppetdb
83- class { 'puppetdb::master::config': }
84- }
78+ ``` puppet
79+ node <hostname> {
80+ # Configure puppetdb and its underlying database
81+ class { 'puppetdb': }
82+
83+ # Configure the Puppet master to use puppetdb
84+ class { 'puppetdb::master::config': }
85+ }
86+ ```
8587
8688You can provide some parameters for these classes if you’d like more control,
8789but that is literally all that it will take to get you up and running with the
@@ -138,7 +140,7 @@ To use SSL connections for the single node setup, use the following manifest:
138140 database_host => '<hostname>',
139141 database_listen_address => '0.0.0.0'
140142 }
141-
143+
142144 # Configure the Puppet master to use puppetdb
143145 class { 'puppetdb::master::config': }
144146
@@ -158,7 +160,7 @@ To use SSL connections for the multiple nodes setup, use the following manifest:
158160 node 'postgres.example.lan' {
159161 # Here we install and configure PostgreSQL and the PuppetDB
160162 # database instance, and tell PostgreSQL that it should
161- # listen for connections to the `$postgres_host`.
163+ # listen for connections to the `$postgres_host`.
162164 # We also enable SSL connections.
163165 class { 'puppetdb::database::postgresql':
164166 listen_addresses => $postgres_host,
0 commit comments