Skip to content

Commit

Permalink
Release version 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lbetz committed Jun 5, 2021
1 parent 36e30d4 commit a2c197d
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 12 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## [v2.3.0](https://github.com/icinga/puppet-icinga/tree/v2.3.0) (2021-06-05)
[Full Changelog](https://github.com/icinga/puppet-icinga/compare/v2.2.0...v2.3.0)

**Implemented enhancements:**

- Add parameter zone to agent and cert\_name to icinga class [\#28](https://github.com/Icinga/puppet-icinga/issues/28)
- Add support for Suse [\#25](https://github.com/Icinga/puppet-icinga/issues/25)

**Fixed bugs:**

- web\_api\_user has to manage only on config\_server's [\#30](https://github.com/Icinga/puppet-icinga/issues/30)
- Parameter api\_host of class web should be also a list of Stdlib::Host [\#29](https://github.com/Icinga/puppet-icinga/issues/29)
- Option to switch off the package management on windows [\#27](https://github.com/Icinga/puppet-icinga/issues/27)

## [v2.2.0](https://github.com/icinga/puppet-icinga/tree/v2.2.0) (2021-05-19)
[Full Changelog](https://github.com/icinga/puppet-icinga/compare/v2.1.4...v2.2.0)

Expand Down Expand Up @@ -93,4 +107,4 @@
## [v0.1.0](https://github.com/icinga/puppet-icinga/tree/v0.1.0) (2020-04-20)


\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
4 changes: 2 additions & 2 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,9 @@ Default value: ``false``

##### `api_host`

Data type: `String`
Data type: `Variant[Stdlib::Host, Array[Stdlib::Host]]`

Icinga 2 API to connect.
Single or list of Icinga 2 API endpoints to connect.

Default value: `'localhost'`

Expand Down
14 changes: 7 additions & 7 deletions manifests/web.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# @param [Boolean] manage_database
# Create database.
#
# @param [Variant[Stdlib::Host, Array[Stdlib::Host]]] $api_host
# @param [Variant[Stdlib::Host, Array[Stdlib::Host]]] api_host
# Single or list of Icinga 2 API endpoints to connect.
#
# @param [String] api_user
Expand Down Expand Up @@ -242,12 +242,12 @@
}

class { '::icingaweb2::module::monitoring':
ido_type => $backend_db_type,
ido_host => $backend_db_host,
ido_port => $_backend_db_port,
ido_db_name => $backend_db_name,
ido_db_username => $backend_db_user,
ido_db_password => $backend_db_pass,
ido_type => $backend_db_type,
ido_host => $backend_db_host,
ido_port => $_backend_db_port,
ido_db_name => $backend_db_name,
ido_db_username => $backend_db_user,
ido_db_password => $backend_db_pass,
}

any2array($api_host).each |Stdlib::Host $host| {
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "icinga-icinga",
"version": "2.2.0",
"version": "2.3.0",
"author": "Icinga",
"summary": "Puppet Module to manage Icinga repositories and provides a base class for Icinga Redis",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/agent_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
it { is_expected.to contain_class('icinga').with({
'ca' => false,
'ca_server' => 'foo',
'this_zone' => os_facts[:fqdn],
'this_zone' => 'NodeName',
'zones' => { 'ZoneName' => { 'endpoints' => { 'NodeName' => {} }, 'parent' => 'main' }, 'main' => { 'endpoints' => { 'foobar' => { 'host' => '127.0.0.1' }}} },
'logging_type' => 'file'
}) }
Expand Down

0 comments on commit a2c197d

Please sign in to comment.