Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit c755822

Browse files
authored
Merge pull request #211 from puppetlabs/release-prep
Release prep v2.7.0
2 parents bf59db9 + 9591bf8 commit c755822

File tree

3 files changed

+33
-6
lines changed

3 files changed

+33
-6
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [v2.7.0](https://github.com/puppetlabs/puppet_metrics_dashboard/tree/v2.7.0) (2022-02-24)
6+
7+
[Full Changelog](https://github.com/puppetlabs/puppet_metrics_dashboard/compare/v2.6.1...v2.7.0)
8+
9+
### Added
10+
11+
- Allow ssl\_dir to be configured via Hiera [\#205](https://github.com/puppetlabs/puppet_metrics_dashboard/pull/205) ([Sharpie](https://github.com/Sharpie))
12+
- Enable PuppetDB SSL in dbcompiler profile [\#203](https://github.com/puppetlabs/puppet_metrics_dashboard/pull/203) ([Sharpie](https://github.com/Sharpie))
13+
14+
### Fixed
15+
16+
- Accept 503 responses from PE /status APIs [\#204](https://github.com/puppetlabs/puppet_metrics_dashboard/pull/204) ([Sharpie](https://github.com/Sharpie))
17+
518
## [v2.6.1](https://github.com/puppetlabs/puppet_metrics_dashboard/tree/v2.6.1) (2021-11-04)
619

720
[Full Changelog](https://github.com/puppetlabs/puppet_metrics_dashboard/compare/v2.6.0...v2.6.1)

REFERENCE.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
### Defined types
3535

36-
* [`puppet_metrics_dashboard::certs`](#puppet_metrics_dashboardcerts): This class creates a certificates for Grafana and for connecting to PE Postgres.
36+
* [`puppet_metrics_dashboard::certs`](#puppet_metrics_dashboardcerts): Copy Puppet Agent keypair for use by metric services.
3737
* [`puppet_metrics_dashboard::profile::compiler`](#puppet_metrics_dashboardprofilecompiler): Apply this class to a Primary Server or Compiler to collect puppetserver metrics
3838
* [`puppet_metrics_dashboard::profile::master::postgres`](#puppet_metrics_dashboardprofilemasterpostgres): Apply this class to an agent running pe-postgresql to collect postgres metrics
3939
* [`puppet_metrics_dashboard::profile::puppetdb`](#puppet_metrics_dashboardprofilepuppetdb): Apply this class to a node running puppetdb to collect puppetdb metrics
@@ -789,24 +789,38 @@ Default value: `''`
789789

790790
### <a name="puppet_metrics_dashboardcerts"></a>`puppet_metrics_dashboard::certs`
791791

792-
This class creates a set of certificates in /etc/${service}. These certificates
793-
are used when configuring Grafana to use SSL and to connect to PE Postgres.
794-
The certificates are based on the agent's own Puppet certificates.
792+
This type creates copies of the Puppet Agent's SSL keypair in `/etc/${service}`
793+
with user+group ownership set to `${service}`. These certificates are used
794+
when configuring Grafana to use SSL and to connect Telegraf with PE Services.
795795

796796
#### Parameters
797797

798798
The following parameters are available in the `puppet_metrics_dashboard::certs` defined type:
799799

800800
* [`service`](#service)
801+
* [`ssl_dir`](#ssl_dir)
801802

802803
##### <a name="service"></a>`service`
803804

804805
Data type: `Any`
805806

806-
The service name associated with these certificates.
807+
The service name to associate with the keypair copy.
807808

808809
Default value: `$name`
809810

811+
##### <a name="ssl_dir"></a>`ssl_dir`
812+
813+
Data type: `Any`
814+
815+
The directory to copy Puppet Agent SSL files from. Defaults to the
816+
value of `puppet config print --section server ssldir` used by the
817+
Puppet Server, often `/etc/puppetlabs/puppet/ssl`. Use Hiera to
818+
override this value if agents have a different `ssldir` setting
819+
or if `bolt apply` is being used.
820+
821+
Default value: `lookup('puppet_metrics_dashboard::certs::ssl_dir',
822+
{default_value => $settings::ssldir})`
823+
810824
### <a name="puppet_metrics_dashboardprofilecompiler"></a>`puppet_metrics_dashboard::profile::compiler`
811825

812826
Apply this class to a Primary Server or Compiler to collect puppetserver metrics

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-puppet_metrics_dashboard",
3-
"version": "2.6.1",
3+
"version": "2.7.0",
44
"author": "puppetlabs",
55
"summary": "A module for managing the installation and configuration of metrics dashboards for Puppet Infrastructure.",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)