Skip to content

Commit

Permalink
Release version 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lbetz committed Mar 9, 2022
1 parent c6a6ec9 commit 15474a6
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 11 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Change Log

## [v3.3.0](https://github.com/icinga/puppet-icingaweb2/tree/v3.3.0) (2022-03-09)
[Full Changelog](https://github.com/icinga/puppet-icingaweb2/compare/v3.2.4...v3.3.0)

**Implemented enhancements:**

- Add apache config file whitout CGIPassAuth for apache version before 2.4.13 [\#315](https://github.com/Icinga/puppet-icingaweb2/issues/315)
- Use Datatype Sensitive for Secrets [\#311](https://github.com/Icinga/puppet-icingaweb2/issues/311)
- Support for module pdfexports [\#309](https://github.com/Icinga/puppet-icingaweb2/issues/309)
- Feature/attempting to add freebsd support [\#210](https://github.com/Icinga/puppet-icingaweb2/pull/210) ([rick-pri](https://github.com/rick-pri))

**Fixed bugs:**

- default\_admin\_username and password are not set for postgresql database type [\#310](https://github.com/Icinga/puppet-icingaweb2/issues/310)
- fix vspheredb service with 1.2.x [\#314](https://github.com/Icinga/puppet-icingaweb2/pull/314) ([dgoetz](https://github.com/dgoetz))

## [v3.2.4](https://github.com/icinga/puppet-icingaweb2/tree/v3.2.4) (2022-01-29)
[Full Changelog](https://github.com/icinga/puppet-icingaweb2/compare/v3.2.3...v3.2.4)

Expand Down
122 changes: 112 additions & 10 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* [`icingaweb2::module::incubator`](#icingaweb2moduleincubator): Installs and enables the incubator module.
* [`icingaweb2::module::ipl`](#icingaweb2moduleipl): Installs and enables the ipl module.
* [`icingaweb2::module::monitoring`](#icingaweb2modulemonitoring): Manages the monitoring module. This module is mandatory for probably every setup.
* [`icingaweb2::module::pdfexport`](#icingaweb2modulepdfexport): Installs, configures and enables the pdfexport module.
* [`icingaweb2::module::puppetdb`](#icingaweb2modulepuppetdb): Installs and configures the puppetdb module.
* [`icingaweb2::module::reactbundle`](#icingaweb2modulereactbundle): Installs and enables the reactbundle module.
* [`icingaweb2::module::translation`](#icingaweb2moduletranslation): Installs and configures the translation module.
Expand Down Expand Up @@ -56,9 +57,14 @@ that store groups.
* `icingaweb2::module::monitoring::commandtransport`: Manages commandtransport configuration for the monitoring module.
* `icingaweb2::module::puppetdb::certificate`: Installs a certificate for the Icinga Web 2 puppetdb module.

### Functions

* [`icingaweb2::unwrap`](#icingaweb2unwrap)

### Data types

* [`Icingaweb2::AdminRole`](#icingaweb2adminrole): A strict type for the default admin role
* [`Icingaweb2::Secret`](#icingaweb2secret): A strict type for the secrets like passwords or keys

## Classes

Expand Down Expand Up @@ -275,7 +281,7 @@ Default value: ``undef``

##### `db_password`

Data type: `Optional[String]`
Data type: `Optional[Icingaweb2::Secret]`

Password for database access. This parameter is only used if `import_schema` is `true` or
`config_backend` is `db`.
Expand Down Expand Up @@ -335,7 +341,7 @@ if `import_schema` is set to `true` and only during the import itself.

##### `default_admin_password`

Data type: `String`
Data type: `Icingaweb2::Secret`

Default password for initial admin access. This parameter is only used
if `import_schema` is set to `true` and only during the import itself.
Expand Down Expand Up @@ -624,7 +630,7 @@ Default value: ``undef``

##### `db_password`

Data type: `Optional[String]`
Data type: `Optional[Icingaweb2::Secret]`

Password for DB connection.

Expand Down Expand Up @@ -680,7 +686,7 @@ Default value: ``undef``

##### `api_password`

Data type: `Optional[String]`
Data type: `Optional[Icingaweb2::Secret]`

Icinga 2 API password. This setting is only valid if `kickstart` is `true`.

Expand Down Expand Up @@ -1081,7 +1087,7 @@ Default value: ``undef``

##### `password`

Data type: `Optional[String]`
Data type: `Optional[Icingaweb2::Secret]`

The users password.

Expand Down Expand Up @@ -1265,7 +1271,7 @@ Default value: ``undef``

##### `ido_db_password`

Data type: `Optional[String]`
Data type: `Optional[Icingaweb2::Secret]`

Password for IDO DB connection.

Expand All @@ -1287,6 +1293,75 @@ A hash of command transports.

Default value: `{}`

### `icingaweb2::module::pdfexport`

Installs, configures and enables the pdfexport module.

* **Note** If you want to use `git` as `install_method`, the CLI `git` command has to be installed. You can manage it yourself as package resource or declare the package name in icingaweb2 class parameter `extra_packages`.

#### Examples

#####

```puppet
class { 'icingaweb2::module::pdfexport':
git_revision => 'v0.10.0',
chrome_binary => '/usr/bin/chromium-browser',
}
```

#### Parameters

The following parameters are available in the `icingaweb2::module::pdfexport` class.

##### `ensure`

Data type: `Enum['absent', 'present']`

Enable or disable module.

Default value: `'present'`

##### `git_repository`

Data type: `String`

Set a git repository URL.

Default value: `'https://github.com/Icinga/icingaweb2-module-pdfexport.git'`

##### `git_revision`

Data type: `Optional[String]`

Set either a branch or a tag name, eg. `master` or `v2.1.0`.

Default value: ``undef``

##### `install_method`

Data type: `Enum['git', 'none', 'package']`

Install methods are `git`, `package` and `none` is supported as installation method.

Default value: `'git'`

##### `package_name`

Data type: `String`

Package name of the module. This setting is only valid in combination with the installation method `package`.

Default value: `'icingaweb2-module-pdfexport'`

##### `chrome_binary`

Data type: `Optional[Stdlib::Absolutepath]`

Path of the chrome or chromium binary.

Default value: ``undef``

### `icingaweb2::module::puppetdb`

Installs and configures the puppetdb module.
Expand Down Expand Up @@ -1595,7 +1670,7 @@ Default value: ``undef``

##### `db_password`

Data type: `Optional[String]`
Data type: `Optional[Icingaweb2::Secret]`

The password needed to access the database.

Expand Down Expand Up @@ -1982,7 +2057,8 @@ Default value: ``undef``

##### `db_type`

Data type: `Optional[Enum['mysql', 'pgsql', 'mssql', 'oci', 'oracle', 'ibm', 'sqlite']]`
Data type: `Optional[Enum['mysql', 'pgsql', 'mssql',
'oci', 'oracle', 'ibm', 'sqlite']]`

Set database type to connect.

Expand All @@ -2006,7 +2082,7 @@ Default value: ``undef``

##### `db_password`

Data type: `Optional[String]`
Data type: `Optional[Icingaweb2::Secret]`

The password to use when connecting to the server. Only valid if `type` is `db`.

Expand Down Expand Up @@ -2038,7 +2114,7 @@ Default value: ``undef``

##### `ldap_bind_pw`

Data type: `Optional[String]`
Data type: `Optional[Icingaweb2::Secret]`

The password to use when connecting to the server. Only valid if `type` is `ldap`.

Expand Down Expand Up @@ -2335,6 +2411,26 @@ Data type: `Optional[String]`

Default value: ``undef``

## Functions

### `icingaweb2::unwrap`

Type: Puppet Language

The icingaweb2::unwrap function.

#### `icingaweb2::unwrap(Optional[Variant[String, Sensitive[String]]] $arg = undef)`

The icingaweb2::unwrap function.

Returns: `Any`

##### `arg`

Data type: `Optional[Variant[String, Sensitive[String]]]`



## Data types

### `Icingaweb2::AdminRole`
Expand All @@ -2347,3 +2443,9 @@ Alias of `Struct[{
groups => Optional[Array[String]],
}]`

### `Icingaweb2::Secret`

A strict type for the secrets like passwords or keys

Alias of `Variant[String, Sensitive[String]]`

2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "icinga-icingaweb2",
"version": "3.2.4",
"version": "3.3.0",
"author": "Icinga Team",
"summary": "Icinga Web 2 Puppet Module",
"license": "Apache-2.0",
Expand Down

0 comments on commit 15474a6

Please sign in to comment.