From c32af12733abb176b0974a4e2719e2be3b908925 Mon Sep 17 00:00:00 2001 From: Adriaan Peeters Date: Thu, 27 Oct 2016 15:03:36 +0200 Subject: [PATCH 1/2] Document usage of Puppet CA via puppetdb_ssl_verify --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a43a9131..91d15e30 100644 --- a/README.md +++ b/README.md @@ -268,6 +268,7 @@ class { 'puppetboard': puppetdb_host => 'puppetdb.example.com', puppetdb_port => '8081', puppetdb_key => "${ssl_dir}/private_keys/${puppetboard_certname}.pem", + puppetdb_ssl_verify => "${ssl_dir}/certs/ca.pem", puppetdb_cert => "${ssl_dir}/certs/${puppetboard_certname}.pem", } ``` From 784da899eae2333ef4cecc9ad75923473a8339f6 Mon Sep 17 00:00:00 2001 From: Adriaan Peeters Date: Thu, 27 Oct 2016 15:03:57 +0200 Subject: [PATCH 2/2] whitespace --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 91d15e30..b1371ac9 100644 --- a/README.md +++ b/README.md @@ -263,13 +263,13 @@ Note that both the above approaches only work if you have the Puppet CA root cer $ssl_dir = $::settings::ssldir $puppetboard_certname = $::certname class { 'puppetboard': - groups => 'puppet', - manage_virtualenv => true, - puppetdb_host => 'puppetdb.example.com', - puppetdb_port => '8081', - puppetdb_key => "${ssl_dir}/private_keys/${puppetboard_certname}.pem", + groups => 'puppet', + manage_virtualenv => true, + puppetdb_host => 'puppetdb.example.com', + puppetdb_port => '8081', + puppetdb_key => "${ssl_dir}/private_keys/${puppetboard_certname}.pem", puppetdb_ssl_verify => "${ssl_dir}/certs/ca.pem", - puppetdb_cert => "${ssl_dir}/certs/${puppetboard_certname}.pem", + puppetdb_cert => "${ssl_dir}/certs/${puppetboard_certname}.pem", } ```