Skip to content

Commit

Permalink
Merge pull request #80 from puppetlabs/release-prep
Browse files Browse the repository at this point in the history
Release prep v2.0.0
  • Loading branch information
jarretlavallee authored Jul 2, 2021
2 parents c746235 + 4ba72b2 commit a80c2c8
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 86 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

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).

## [v2.0.0](https://github.com/puppetlabs/puppetlabs-pe_databases/tree/v2.0.0) (2021-07-02)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-pe_databases/compare/v1.2.0...v2.0.0)

### Changed

- Remove Puppet 5 support and EOL PE versions [\#76](https://github.com/puppetlabs/puppetlabs-pe_databases/pull/76) ([MartyEwings](https://github.com/MartyEwings))
- SUP-2404 Migrate from cron to systemd timers [\#65](https://github.com/puppetlabs/puppetlabs-pe_databases/pull/65) ([m0dular](https://github.com/m0dular))

### Added

- Addition of SLES 12 Test Platform [\#77](https://github.com/puppetlabs/puppetlabs-pe_databases/pull/77) ([MartyEwings](https://github.com/MartyEwings))

### Fixed

- Fix path in backup.pp and reset pgrepack schema task [\#74](https://github.com/puppetlabs/puppetlabs-pe_databases/pull/74) ([carabasdaniel](https://github.com/carabasdaniel))
- Fix scope of disable\_maintenance param [\#73](https://github.com/puppetlabs/puppetlabs-pe_databases/pull/73) ([m0dular](https://github.com/m0dular))

## [v1.2.0](https://github.com/puppetlabs/puppetlabs-pe_databases/tree/v1.2.0) (2021-06-02)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-pe_databases/compare/v1.1.0...v1.2.0)
Expand Down
147 changes: 64 additions & 83 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@

* [`pe_databases`](#pe_databases)
* [`pe_databases::backup`](#pe_databasesbackup)
* [`pe_databases::maintenance`](#pe_databasesmaintenance)
* [`pe_databases::maintenance::pg_repack`](#pe_databasesmaintenancepg_repack)
* [`pe_databases::maintenance::vacuum_full`](#pe_databasesmaintenancevacuum_full)
* [`pe_databases::pg_repack`](#pe_databasespg_repack)
* [`pe_databases::postgresql_settings`](#pe_databasespostgresql_settings)
* [`pe_databases::postgresql_settings::table_settings`](#pe_databasespostgresql_settingstable_settings)

### Defined types

* [`pe_databases::collect`](#pe_databasescollect): Create systemd units for repacking a given database type
* [`pe_databases::set_puppetdb_table_autovacuum_cost_delay_zero`](#pe_databasesset_puppetdb_table_autovacuum_cost_delay_zero)
* [`pe_databases::set_table_attribute`](#pe_databasesset_table_attribute)

Expand All @@ -39,18 +38,19 @@ The following parameters are available in the `pe_databases` class:

* [`manage_database_backups`](#manage_database_backups)
* [`manage_database_maintenance`](#manage_database_maintenance)
* [`disable_maintenance`](#disable_maintenance)
* [`manage_postgresql_settings`](#manage_postgresql_settings)
* [`manage_table_settings`](#manage_table_settings)
* [`install_dir`](#install_dir)
* [`scripts_dir`](#scripts_dir)

##### <a name="manage_database_backups"></a>`manage_database_backups`

Data type: `Boolean`
Data type: `Variant[Boolean,Undef]`



Default value: ``true``
Default value: ``undef``

##### <a name="manage_database_maintenance"></a>`manage_database_maintenance`

Expand All @@ -60,6 +60,14 @@ Data type: `Boolean`

Default value: ``true``

##### <a name="disable_maintenance"></a>`disable_maintenance`

Data type: `Boolean`



Default value: `lookup('pe_databases::disable_maintenance', {'default_value' => false})`

##### <a name="manage_postgresql_settings"></a>`manage_postgresql_settings`

Data type: `Boolean`
Expand Down Expand Up @@ -107,6 +115,7 @@ The following parameters are available in the `pe_databases::backup` class:
* [`daily_databases_path`](#daily_databases_path)
* [`backup_logging_directory`](#backup_logging_directory)
* [`retention_policy`](#retention_policy)
* [`disable_maintenance`](#disable_maintenance)

##### <a name="databases_and_backup_schedule"></a>`databases_and_backup_schedule`

Expand Down Expand Up @@ -182,52 +191,23 @@ Data type: `Integer`

Default value: `2`

### <a name="pe_databasesmaintenance"></a>`pe_databases::maintenance`

The pe_databases::maintenance class.

#### Parameters

The following parameters are available in the `pe_databases::maintenance` class:

* [`disable_maintenance`](#disable_maintenance)
* [`logging_directory`](#logging_directory)
* [`script_directory`](#script_directory)

##### <a name="disable_maintenance"></a>`disable_maintenance`

Data type: `Boolean`



Default value: ``false``

##### <a name="logging_directory"></a>`logging_directory`

Data type: `String`



Default value: `'/var/log/puppetlabs/pe_databases_cron'`

##### <a name="script_directory"></a>`script_directory`

Data type: `String`



Default value: `$pe_databases::scripts_dir`
Default value: ``true``

### <a name="pe_databasesmaintenancepg_repack"></a>`pe_databases::maintenance::pg_repack`
### <a name="pe_databasespg_repack"></a>`pe_databases::pg_repack`

The pe_databases::maintenance::pg_repack class.
The pe_databases::pg_repack class.

#### Parameters

The following parameters are available in the `pe_databases::maintenance::pg_repack` class:
The following parameters are available in the `pe_databases::pg_repack` class:

* [`disable_maintenance`](#disable_maintenance)
* [`logging_directory`](#logging_directory)
* [`jobs`](#jobs)

##### <a name="disable_maintenance"></a>`disable_maintenance`
Expand All @@ -236,15 +216,7 @@ Data type: `Boolean`



Default value: `$pe_databases::maintenance::disable_maintenance`

##### <a name="logging_directory"></a>`logging_directory`

Data type: `String`



Default value: `$pe_databases::maintenance::logging_directory`
Default value: ``false``

##### <a name="jobs"></a>`jobs`

Expand All @@ -254,42 +226,6 @@ Data type: `Integer`

Default value: `/`

### <a name="pe_databasesmaintenancevacuum_full"></a>`pe_databases::maintenance::vacuum_full`

The pe_databases::maintenance::vacuum_full class.

#### Parameters

The following parameters are available in the `pe_databases::maintenance::vacuum_full` class:

* [`disable_maintenance`](#disable_maintenance)
* [`logging_directory`](#logging_directory)
* [`script_directory`](#script_directory)

##### <a name="disable_maintenance"></a>`disable_maintenance`

Data type: `Boolean`



Default value: `$pe_databases::maintenance::disable_maintenance`

##### <a name="logging_directory"></a>`logging_directory`

Data type: `String`



Default value: `$pe_databases::maintenance::logging_directory`

##### <a name="script_directory"></a>`script_directory`

Data type: `String`



Default value: `$pe_databases::maintenance::script_directory`

### <a name="pe_databasespostgresql_settings"></a>`pe_databases::postgresql_settings`

The pe_databases::postgresql_settings class.
Expand Down Expand Up @@ -517,6 +453,51 @@ Default value: `0.75`

## Defined types

### <a name="pe_databasescollect"></a>`pe_databases::collect`

Create systemd units for repacking a given database type

#### Parameters

The following parameters are available in the `pe_databases::collect` defined type:

* [`database_type`](#database_type)
* [`command`](#command)
* [`disable_maintenance`](#disable_maintenance)
* [`on_cal`](#on_cal)

##### <a name="database_type"></a>`database_type`

Data type: `String`



Default value: `$title`

##### <a name="command"></a>`command`

Data type: `String`



Default value: ``undef``

##### <a name="disable_maintenance"></a>`disable_maintenance`

Data type: `Boolean`



Default value: ``false``

##### <a name="on_cal"></a>`on_cal`

Data type: `String`



Default value: ``undef``

### <a name="pe_databasesset_puppetdb_table_autovacuum_cost_delay_zero"></a>`pe_databases::set_puppetdb_table_autovacuum_cost_delay_zero`

The pe_databases::set_puppetdb_table_autovacuum_cost_delay_zero class.
Expand Down
6 changes: 3 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-pe_databases",
"version": "1.2.0",
"version": "2.0.0",
"author": "puppetlabs",
"summary": "A Puppet Module for Backing Up / Maintaining / Tuning Your Puppet Enterprise Databases",
"license": "Apache-2.0",
Expand Down Expand Up @@ -46,12 +46,12 @@
"20.04"
]
},
{
{
"operatingsystem": "SLES",
"operatingsystemrelease": [
"12"
]
}
}
],
"requirements": [
{
Expand Down

0 comments on commit a80c2c8

Please sign in to comment.